Browse Source

Output error.toString() in gulpfile

flowchartTest
jos 9 years ago
parent
commit
d9a6b418ff
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      gulpfile.js

+ 1
- 1
gulpfile.js View File

@ -84,7 +84,7 @@ gulp.task('bundle-js', ['clean'], function (cb) {
if (stats && stats.compilation && stats.compilation.errors) { if (stats && stats.compilation && stats.compilation.errors) {
// output soft errors // output soft errors
stats.compilation.errors.forEach(function (err) { stats.compilation.errors.forEach(function (err) {
gutil.log(err);
gutil.log(err.toString());
}); });
if (err || stats.compilation.errors.length > 0) { if (err || stats.compilation.errors.length > 0) {

Loading…
Cancel
Save