File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,10 +62,10 @@ List<String> findJavaFiles(String path) {
6262 .toList ();
6363}
6464
65- bool isTravisFileValid () {
66- var travisPath = p.join (rootPath, '.github/workflows/presubmit.yaml' );
67- var travisFile = File (travisPath );
68- return travisFile .existsSync ();
65+ bool isPresubmitFileValid () {
66+ var presubmitPath = p.join (rootPath, '.github/workflows/presubmit.yaml' );
67+ var presubmitFile = File (presubmitPath );
68+ return presubmitFile .existsSync ();
6969}
7070
7171Future <int > jar (String directory, String outFile) async {
@@ -110,7 +110,7 @@ Future<bool> performReleaseChecks(ProductCommand cmd) async {
110110 name.lastIndexOf (RegExp (r"\.[0-9]" )) == name.length - 2 ;
111111 }
112112 if (result) {
113- if (isTravisFileValid ()) {
113+ if (isPresubmitFileValid ()) {
114114 return result;
115115 } else {
116116 log ('the presubmit.yaml file needs updating: plugin generate' );
You can’t perform that action at this time.
0 commit comments