Skip to content

Commit c5de1e6

Browse files
committed
Fix issue with eslint.
1 parent e98d061 commit c5de1e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ module.exports = function (opt) {
2020
}
2121

2222
if (file.isStream()) {
23-
this.emit('error', new gutil.PluginError('gulp-inline-css', 'Streaming not supported'));
24-
return cb();
23+
cb(new gutil.PluginError('gulp-inline-css', 'Streaming not supported'));
24+
return;
2525
}
2626

2727
inlineCss(file.contents, _opt)

0 commit comments

Comments
 (0)