diff --git a/gulp/tasks/test.js b/gulp/tasks/test.js index 895d0d2..b6187ad 100644 --- a/gulp/tasks/test.js +++ b/gulp/tasks/test.js @@ -13,7 +13,7 @@ module.exports = function test() { })) // https://github.com/gulpjs/gulp/issues/259#issuecomment-61976830 - .on('error', (err) => { + .on('error', function onerror(err) { if (config.watch) { console.error(err.message); this.emit('end');