Skip to content

Commit

Permalink
fix: add exitCode in case validation fails
Browse files Browse the repository at this point in the history
  • Loading branch information
silvester-pari committed Oct 29, 2024
1 parent 58128bf commit 382ac45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ exec(
(error, stdout) => {
if (error) {
console.error("Validation failed!");
process.exitCode = 1;
} else {
console.info("Validation successful!");
}
Expand Down

0 comments on commit 382ac45

Please sign in to comment.