Permalink
Browse files

return non-zero status code for failed jsbundling

  • Loading branch information...
1 parent e88e23a commit 1eca1d78ce8a50763a8ed7d0d7a684520560632d Paul Baumgart committed Feb 21, 2015
Showing with 2 additions and 1 deletion.
  1. +1 −0 bin/jsbundle
  2. +1 −1 package.json
View
@@ -32,6 +32,7 @@ if (argv.help || process.argv.length < 2) {
util.puts(jsbundle.compilePackage(argv._[0], process.env.JSBUNDLE_ENV, argv['bundle-url']));
} catch (e) {
console.error(e);
+ process.exit(1);
}
}
View
@@ -3,7 +3,7 @@
"name": "jsbundle",
"description": "Simple, clean, and automatic bundling of your Node modules and packages for use in the browser.",
"keywords": "browser require bundle module package static-analysis",
- "version": "1.4.0",
+ "version": "1.4.1",
"repository": {
"type": "git",
"url": "git://github.com/proxv/jsbundle.git"

0 comments on commit 1eca1d7

Please sign in to comment.