Comparing version 1.1.0 to 1.1.1
12
index.js
@@ -21,4 +21,3 @@ 'use strict'; | ||
if (file.isNull()) { | ||
this.push(file); | ||
cb(); | ||
cb(null, file); | ||
return; | ||
@@ -28,4 +27,3 @@ } | ||
if (file.isStream()) { | ||
this.emit('error', new gutil.PluginError('gulp-jscs', 'Streaming not supported')); | ||
cb(); | ||
cb(new gutil.PluginError('gulp-jscs', 'Streaming not supported')); | ||
return; | ||
@@ -35,4 +33,3 @@ } | ||
if (checker._isExcluded(file.path)) { | ||
this.push(file); | ||
cb(); | ||
cb(null, file); | ||
return; | ||
@@ -50,4 +47,3 @@ } | ||
this.push(file); | ||
cb(); | ||
cb(null, file); | ||
}, function (cb) { | ||
@@ -54,0 +50,0 @@ if (out.length > 0) { |
{ | ||
"name": "gulp-jscs", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Check JavaScript code style with jscs", | ||
@@ -39,3 +39,3 @@ "license": "MIT", | ||
"jscs": "^1.5.9", | ||
"through2": "^0.5.1" | ||
"through2": "^0.6.1" | ||
}, | ||
@@ -42,0 +42,0 @@ "devDependencies": { |
2891
45
+ Addedthrough2@0.6.5(transitive)
- Removedthrough2@0.5.1(transitive)
- Removedxtend@3.0.0(transitive)
Updatedthrough2@^0.6.1