From 9a6a18f8a752d21a30a907ac7ddfc672b6a9da2f Mon Sep 17 00:00:00 2001 From: Vitor Buzinaro Date: Fri, 13 Nov 2015 21:10:53 -0300 Subject: [PATCH] Fixes #36 - '/' to path.sep --- lib/init.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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