From 394dd1dffa4d3b202d9e220db7310e8a45cfcb21 Mon Sep 17 00:00:00 2001 From: Rom Grk Date: Fri, 29 May 2015 08:51:32 -0400 Subject: [PATCH] move fs.normalize call to getFullPath --- lib/ex.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ex.coffee b/lib/ex.coffee index a41a846..7b963ea 100644 --- a/lib/ex.coffee +++ b/lib/ex.coffee @@ -37,6 +37,7 @@ saveAs = (filePath) -> fs.writeFileSync(filePath, editor.getText()) getFullPath = (filePath) -> + filePath = fs.normalize filePath return filePath if path.isAbsolute(filePath) return path.join(atom.project.getPath(), filePath)