Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "wulp", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Gulp tasks that can be run directly or as part of a watch task.", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -135,3 +135,3 @@ var debug = require('debug')('wulp'); | ||
if (error) { | ||
this._log(util.colors.red('\nTask "' + nextTaskName + '" failed in ' + duration +':\n') + this._prettyError(error)); | ||
this._log(util.colors.red('\nTask "' + nextTaskName + '" failed in ' + duration +':\n\n ') + this._prettyError(error)); | ||
} else { | ||
@@ -192,4 +192,4 @@ this._log('Completed task "' + nextTaskName + '" in ' + duration); | ||
return stacky.pretty(error.stack, { | ||
indent: ' ', | ||
const stack = stacky.pretty(error.stack, { | ||
indent: ' ', | ||
filter: function(line) { | ||
@@ -199,2 +199,4 @@ return line.location.match(/\/node_modules\//); | ||
}); | ||
return ' ' + util.colors.red(error.message) + '\n' + stack; | ||
} | ||
@@ -201,0 +203,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17781
161