Skip to content

Commit

Permalink
Set a nonzero exit code if render fails
Browse files Browse the repository at this point in the history
  • Loading branch information
clbond committed Mar 29, 2017
1 parent 0907405 commit 691777c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/bin/render.ts
Expand Up @@ -30,6 +30,8 @@ const execute = async () => {
}
catch (exception) {
log.error(`Failed to render application: ${exception.toString()}`);

process.exitCode = 1;
}
finally {
application.dispose();
Expand Down

0 comments on commit 691777c

Please sign in to comment.