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('')