mirror of
https://github.com/github/codeql-action.git
synced 2026-11-05 04:29:40 +00:00
Return different exit code when a language is not recognised
This commit is contained in:
@@ -144,6 +144,7 @@ async function main() {
|
||||
console.info("Success: YAML files are correctly formatted");
|
||||
} else {
|
||||
console.error(`Unknown language: ${options.language}`);
|
||||
return 1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user