diff --git a/lib/init.coffee b/lib/init.coffee index b7d4f11..c61e4e2 100755 --- a/lib/init.coffee +++ b/lib/init.coffee @@ -92,7 +92,7 @@ module.exports = lint: (textEditor) => filePath = textEditor.getPath() - wd = path.dirname filePath + wd = @getProjectRootDir() || path.dirname filePath searchDir = @getProjectRootDir() || path.dirname filePath # Classpath