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" }