mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-22 00:19:24 +03:00
Use getPath() internally
This commit is contained in:
parent
1c47423044
commit
50e4602f7c
@ -19,7 +19,7 @@ class Git
|
|||||||
getPath: -> @repo.getPath()
|
getPath: -> @repo.getPath()
|
||||||
|
|
||||||
getWorkingDirectory: ->
|
getWorkingDirectory: ->
|
||||||
repoPath = @repo.getPath()
|
repoPath = @getPath()
|
||||||
if repoPath
|
if repoPath
|
||||||
repoPath.substring(0, repoPath.length - 5)
|
repoPath.substring(0, repoPath.length - 5)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user