Skip to content

Commit cea289b

Browse files
committed
Return different exit code when a language is not recognised
1 parent 7287bb3 commit cea289b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎pr-checks/check-unchanged.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ async function main() {
144144
console.info("Success: YAML files are correctly formatted");
145145
} else {
146146
console.error(`Unknown language: ${options.language}`);
147+
return 1;
147148
}
148149

149150
return 0;

0 commit comments

Comments
 (0)