Skip to content

Commit

Permalink
fix 'split' issue in git.coffee
Browse files Browse the repository at this point in the history
change repo.path to repo.repo.workingDirectory
  • Loading branch information
codiceovvio authored Feb 10, 2018
1 parent 5232598 commit b117b61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/git.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ module.exports =
return repo.getUpstreamBranch()

isMerging: ->
return fs.existsSync(path.join(repo.path, 'MERGE_HEAD'))
# return fs.existsSync(path.join(repo.path, 'MERGE_HEAD'))
return fs.existsSync(path.join(repo.repo.workingDirectory, 'MERGE_HEAD'))

getBranches: getBranches

Expand Down

0 comments on commit b117b61

Please sign in to comment.