diff --git a/gulpfile.babel.js b/gulpfile.babel.js index 61bbc12..e8de5be 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -145,7 +145,7 @@ gulp.task('pack:firefox', () => { gulp.task('pack:chrome', (done) => { execFile('./packchrome.sh', [], (error, stdout, stderr) => { // gutil.log('[pack:chrome]', stdout) - if (error || stderr) { + if (error) { done(new gutil.PluginError('pack:chrome', stderr, {showStack: false})) return }