Return different exit code when a language is not recognised

This commit is contained in:
Michael B. Gale
2026-11-04 11:58:17 +00:00
parent 7287bb3627
commit cea289b432

View File

@@ -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;