From 69005eb880eccf59e154fcad20e777e67d76abe6 Mon Sep 17 00:00:00 2001 From: Rom Grk Date: Fri, 29 May 2015 15:44:36 -0400 Subject: [PATCH] fix deprecation call: atom.project.getPath --- lib/ex.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ex.coffee b/lib/ex.coffee index eff71bc..a5d7ff5 100644 --- a/lib/ex.coffee +++ b/lib/ex.coffee @@ -39,7 +39,7 @@ saveAs = (filePath) -> getFullPath = (filePath) -> filePath = fs.normalize 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('')