fix deprecation call: atom.project.getPath
This commit is contained in:
parent
6d723b8a4a
commit
69005eb880
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ saveAs = (filePath) ->
|
||||||
getFullPath = (filePath) ->
|
getFullPath = (filePath) ->
|
||||||
filePath = fs.normalize filePath
|
filePath = fs.normalize filePath
|
||||||
return filePath if path.isAbsolute(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) ->
|
replaceGroups = (groups, replString) ->
|
||||||
arr = replString.split('')
|
arr = replString.split('')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue