Skip to content

Commit

Permalink
fix: exit with status 1 on errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nazieb committed Jul 19, 2018
1 parent 77cb2a6 commit 80099fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bin.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,6 @@ source.on("end", () => {
} catch (e) {
console.log("Error transforming the API Blueprint: ");
console.log(e);
process.exit(1);
}
});

0 comments on commit 80099fe

Please sign in to comment.