diff --git a/lib/init.coffee b/lib/init.coffee index 840ea91c..3cb7dd95 100644 --- a/lib/init.coffee +++ b/lib/init.coffee @@ -33,7 +33,7 @@ module.exports = configuration = Linter.findConfiguration(undefined, filePath) if (rulesDirectory && textEditor.project && textEditor.project.getPaths().length) - directory = textEditor.project.getPaths()[0] + '/' + rulesDirectory + directory = textEditor.project.getPaths()[0] + path.sep + rulesDirectory else directory = undefined