Skip to content

Commit

Permalink
#147: will throws a failure if fails to build neuron
Browse files Browse the repository at this point in the history
  • Loading branch information
Kael committed Sep 23, 2015
1 parent ecac47c commit a5f6cd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion node/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ function get_version () {
function write (type, filename) {
concat[type](function (err, content) {
if (err) {
return console.error(err.stack || err);
console.error(err.stack || err);
process.exit(1);
}

var path = node_path.join(__dirname, '..', 'dist', filename);
Expand Down
6 changes: 2 additions & 4 deletions node/concat.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ var FILES = {
'load.js',
'ready.js',
'config.js',
'exports.js',
'outro.js'
'exports.js'
],

'safe-ecma5': [
Expand All @@ -74,8 +73,7 @@ var FILES = {
'load.js',
'ready.js',
'config.js',
'exports.js',
'outro.js'
'exports.js'
]
};

Expand Down

0 comments on commit a5f6cd2

Please sign in to comment.