diff --git a/lib/set-task.js b/lib/set-task.js index 3fd6c00..b76307d 100644 --- a/lib/set-task.js +++ b/lib/set-task.js @@ -9,7 +9,7 @@ function set(name, fn) { assert(typeof name === 'string', 'Task name must be a string'); assert(typeof fn === 'function', 'Task function must be specified'); - function taskWrapper(){ + function taskWrapper() { return fn.apply(this, arguments); } diff --git a/package.json b/package.json index ffd9544..3c30e47 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "lib" ], "scripts": { - "lint": "eslint . && jscs index.js test/", + "lint": "eslint . && jscs index.js lib/ test/", "pretest": "npm run lint", "test": "mocha --async-only", "cover": "istanbul cover _mocha --report lcovonly",