Skip to content

Commit d2f8317

Browse files
committed
Rename travis fn
1 parent 3c98df9 commit d2f8317

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tool/plugin/lib/plugin.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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

7171
Future<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');

0 commit comments

Comments
 (0)