js: Pass grunt-browserify errors on

This commit is contained in:
Stein Magnus Jodal 2014-06-15 10:12:18 +02:00
parent 7b71e64553
commit 0167986b98

View File

@ -26,7 +26,7 @@ module.exports = function (grunt) {
},
options: {
postBundleCB: function (err, src, next) {
next(null, grunt.template.process("<%= meta.banner %>") + src);
next(err, grunt.template.process("<%= meta.banner %>") + src);
},
standalone: "Mopidy"
}
@ -45,7 +45,7 @@ module.exports = function (grunt) {
},
options: {
postBundleCB: function (err, src, next) {
next(null, grunt.template.process("<%= meta.banner %>") + src);
next(err, grunt.template.process("<%= meta.banner %>") + src);
},
standalone: "Mopidy"
}