mocha-jshint
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -18,2 +18,3 @@ var path = require('path'); | ||
args: ['.'], | ||
verbose: true, | ||
reporter: require('./reporter.js')(error) | ||
@@ -29,2 +30,2 @@ }; | ||
}); | ||
}; | ||
}; |
{ | ||
"name": "mocha-jshint", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "run JSHint as mocha tests", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -10,6 +10,8 @@ var path = require('path'); | ||
} | ||
err.message = err.message || 'jshint error(s)'; | ||
err.stack += error.reason + '\n at (' + path.resolve(file) + ':' + error.line + ':' + error.character + ')'; | ||
err.message = err.message || 'jshint error' + (results.length > 1 ? 's' : ''); | ||
err.stack += error.reason + | ||
(error.code ? ' (' + error.code + ')' : '') + | ||
'\n at (' + path.resolve(file) + ':' + error.line + ':' + error.character + ')'; | ||
}); | ||
}; | ||
}; |
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
12831
43