From d3c2d4e6bffedd0b62d297ec26498c47fa43bc30 Mon Sep 17 00:00:00 2001 From: jazzpi Date: Sun, 7 Jun 2015 12:28:06 +0200 Subject: [PATCH] Projects can have multiple paths --- lib/ex.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ex.coffee b/lib/ex.coffee index 21f5037..f95d153 100644 --- a/lib/ex.coffee +++ b/lib/ex.coffee @@ -37,7 +37,7 @@ saveAs = (filePath) -> getFullPath = (filePath) -> return filePath if path.isAbsolute(filePath) - return path.join(atom.project.getPath(), filePath) + return path.join(atom.project.getPaths()[0], filePath) replaceGroups = (groups, replString) -> arr = replString.split('')