Skip to content

Commit

Permalink
Set exitCode if config generation fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrtenz committed Nov 16, 2022
1 parent 2fc4b4f commit 4fe447d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/generate-configs.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,7 @@ const writeRules = async () => {
}
};

writeRules().catch(console.error);
writeRules().catch((error) => {
console.error(error);
process.exitCode = 1;
});

0 comments on commit 4fe447d

Please sign in to comment.