Projects can have multiple paths

This commit is contained in:
jazzpi 2015-06-07 12:28:06 +02:00
parent bf0f492740
commit d3c2d4e6bf

View file

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