Skip to content

Commit

Permalink
Merge pull request #61 from dieuhd/fix/add_exit_code
Browse files Browse the repository at this point in the history
fix: add exit code when exception
  • Loading branch information
dieuhd authored Jun 7, 2024
2 parents 6930772 + 051770a commit 4b359de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cli/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export class Cli {
}
} catch (e) {
Log.error(e);
process.exit(1);
}
}

Expand Down Expand Up @@ -158,6 +159,7 @@ export class Cli {
Log.info("Quality Gate ran successful.");
}).catch(error => {
Log.error(error);
process.exit(1);
});
}

Expand Down

0 comments on commit 4b359de

Please sign in to comment.