diff --git a/lib/error.js b/lib/error.js index ac59e92..7bff2e2 100644 --- a/lib/error.js +++ b/lib/error.js @@ -11,7 +11,7 @@ var path = require('path'); * @param {string} error * @param {...*} varags format arguments */ -module.exports = function(tag, comment, error) { +module.exports = function (tag, comment, error) { var relativePath = path.relative(process.cwd(), comment.context.file), lineNumber = (tag ? tag.lineNumber : 0) + comment.loc.start.line; diff --git a/package.json b/package.json index 25ed71f..23b4667 100644 --- a/package.json +++ b/package.json @@ -65,6 +65,6 @@ }, "scripts": { "cover": "istanbul cover prova test/*.js test/lib/*.js test/streams/*.js --dir $CIRCLE_ARTIFACTS && coveralls < $CIRCLE_ARTIFACTS/lcov.info", - "test": "eslint --no-eslintrc -c .eslintrc index.js test/*.js test/streams/*.js && prova test/*.js test/lib/*.js test/streams/*.js" + "test": "eslint --no-eslintrc -c .eslintrc lib index.js test/*.js test/streams/*.js && prova test/*.js test/lib/*.js test/streams/*.js" } }