From 0167986b98df1f8badcbd0886a70fe5c24621e22 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Sun, 15 Jun 2014 10:12:18 +0200 Subject: [PATCH] js: Pass grunt-browserify errors on --- js/Gruntfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/Gruntfile.js b/js/Gruntfile.js index 812ecec4..437ad9d0 100644 --- a/js/Gruntfile.js +++ b/js/Gruntfile.js @@ -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" }