Skip to content

Commit 7324c27

Browse files
authoredMar 28, 2025··
fix(ci): use project.reject when just check mode (#404)
done 403
1 parent 3d6f5da commit 7324c27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎scripts/antlr4.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function compile(language) {
6161
return newHash !== prevHash;
6262
});
6363

64-
if (changedFiles.length > 0) {
64+
if (changedFiles.length > 0 && argv.check) {
6565
return reject(`${language} not run antlr4`);
6666
}
6767
resolve();

0 commit comments

Comments
 (0)
Please sign in to comment.