Skip to content

Commit

Permalink
Updates regex to support git <1.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mat21psu committed Jun 30, 2016
1 parent 8120a31 commit 78bee84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/GitCommands.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ChildProcess = require('child_process')
env = process.env
env.GIT_MERGE_AUTOEDIT = 'no'

GIT_CLEAN_REGEX = /^nothing to commit, working directory clean$/m
GIT_CLEAN_REGEX = /^nothing to commit,? \(?working directory clean\)?$/m

class GitCommands
@checkForCleanWorkingDirectory: ->
Expand Down

0 comments on commit 78bee84

Please sign in to comment.