From 3cf89f65824d71d941cd5bb457e5e2a32b3abb1b Mon Sep 17 00:00:00 2001 From: Glen Cheney Date: Wed, 10 May 2017 10:37:19 -0700 Subject: [PATCH] Fix test task crash. --- gulp/tasks/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');