From 08db549c85af8490f85324b1e86818dbca9fc2a0 Mon Sep 17 00:00:00 2001 From: Mike Engel Date: Wed, 31 Dec 2014 14:44:42 -0700 Subject: [PATCH] Removing the assumption that the cssLint config is in the cwd --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index c62b5b7..d368cc9 100644 --- a/index.js +++ b/index.js @@ -43,7 +43,7 @@ var cssLintPlugin = function(options) { // Read CSSLint options from a specified csslintrc file. if (typeof options === 'string') { // Don't catch readFile errors, let them bubble up - var externalOptions = fs.readFileSync('./'+options); + var externalOptions = fs.readFileSync(options); try { options = JSON.parse(externalOptions);