jscs-dev/gulp-jscs

TypeError: Object [object Object] has no method '_isExcluded'

marcellodesales opened this issue · 2 comments

Hi there,

I used this plugin every day while I'm building internal modules... I started getting this error today and I was wondering if any of your dependencies started failing today :( Is there anything I can do to prevent that?

Thanks!

$ gulp
[13:41:51] Using gulpfile ~/dev/github-intuit/sp-quality/Gulpfile.js
[13:41:51] Starting 'build'...
[13:41:51] Starting 'clean'...
[13:41:51] Finished 'clean' after 19 ms
[13:41:51] Starting 'check'...

/home/mdesales/dev/github-intuit/sp-quality/node_modules/gulp-jscs/index.js:30
        if (checker._isExcluded(file.path)) {
                    ^
TypeError: Object [object Object] has no method '_isExcluded'
    at DestroyableTransform.through.obj.emit.gutil.PluginError.showStack [as _transform] (/home/mdesales/dev/github-intuit/sp-quality/node_modules/gulp-jscs/index.js:30:15)
    at DestroyableTransform.Transform._read (/home/mdesales/dev/github-intuit/sp-quality/node_modules/gulp-jscs/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:184:10)
    at DestroyableTransform.Transform._write (/home/mdesales/dev/github-intuit/sp-quality/node_modules/gulp-jscs/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:172:12)
    at doWrite (/home/mdesales/dev/github-intuit/sp-quality/node_modules/gulp-jscs/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:237:10)
    at writeOrBuffer (/home/mdesales/dev/github-intuit/sp-quality/node_modules/gulp-jscs/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:227:5)
    at DestroyableTransform.Writable.write (/home/mdesales/dev/github-intuit/sp-quality/node_modules/gulp-jscs/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:194:11)
    at write (/home/mdesales/dev/github-intuit/sp-quality/node_modules/gulp-jshint/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:623:24)
    at flow (/home/mdesales/dev/github-intuit/sp-quality/node_modules/gulp-jshint/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:632:7)
    at DestroyableTransform.pipeOnReadable (/home/mdesales/dev/github-intuit/sp-quality/node_modules/gulp-jshint/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:664:5)
    at DestroyableTransform.emit (events.js:92:17)

Thanks for contributing! Upgrade to version 1.3.1. This was fixed earlier today. Please let us know if you are still having issues.

@mikesherov working perfectly on 1.3.1!!! thanks!