Skip to content

Commit

Permalink
fix 'split' issue in git-control-view.coffee
Browse files Browse the repository at this point in the history
  • Loading branch information
codiceovvio authored Feb 10, 2018
1 parent b117b61 commit 988e3db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/git-control-view.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ class GitControlView extends View
if !git.isInitialised()
git.alert "> This project is not a git repository. Either open another project or create a repository."
else
@setWorkspaceTitle(git.getRepository().path.split('/').reverse()[1])
# @setWorkspaceTitle(git.getRepository().path.split('/').reverse()[1])
@setWorkspaceTitle(git.getRepository().repo.workingDirectory.split('/').reverse()[1])
@update(true)

return
Expand Down

0 comments on commit 988e3db

Please sign in to comment.