gulp-coffeelint
Advanced tools
Comparing version 0.1.0 to 0.1.1
10
index.js
@@ -69,3 +69,3 @@ var PluginError, coffeelint, coffeelintPlugin, configfinder, createPluginError, formatOutput, fs, map, stylish; | ||
return map(function(file, cb) { | ||
var newError, output, results; | ||
var output, results; | ||
if (file.isNull()) { | ||
@@ -82,9 +82,3 @@ return cb(null, file); | ||
output = null; | ||
try { | ||
results = coffeelint.lint(file.contents.toString('utf8'), opt, literate); | ||
} catch (_error) { | ||
e = _error; | ||
newError = createPluginError("Could not lint " + file.path + ": " + e); | ||
return cb(newError); | ||
} | ||
results = coffeelint.lint(file.contents.toString('utf8'), opt, literate); | ||
output = formatOutput(results, opt, literate); | ||
@@ -91,0 +85,0 @@ file.coffeelint = output; |
{ | ||
"name": "gulp-coffeelint", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Lint your CoffeeScript using gulp and CoffeeLint", | ||
@@ -39,3 +39,4 @@ "keywords": [ | ||
"coffee-script": "~1.6.3", | ||
"sinon": "~1.7.3" | ||
"sinon": "~1.7.3", | ||
"gulp-clean": "~0.2.2" | ||
}, | ||
@@ -42,0 +43,0 @@ "engines": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6232
7
89