1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-23 22:25:56 -04:00

Replaced gulp-util with ansi-colors, updated packages

This commit is contained in:
Mark McDowall
2019-03-05 00:32:21 -08:00
parent 269a5bd914
commit 966e147a20
3 changed files with 43 additions and 21 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
const gulpUtil = require('gulp-util');
const colors = require('ansi-colors');
module.exports = function errorHandler(error) {
gulpUtil.log(gulpUtil.colors.red(`Error (${error.plugin}): ${error.message}`));
console.log(colors.red(`Error (${error.plugin}): ${error.message}`));
this.emit('end');
};