Skip to content

Commit

Permalink
Improve isWorkingDirClean() check for projects with generated code (#688
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jbrunton committed Aug 15, 2020
1 parent 496ce1c commit 8cbac81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugin/git/Git.js
Expand Up @@ -89,7 +89,7 @@ class Git extends GitBase {
}

isWorkingDirClean() {
return this.exec('git diff-index --quiet HEAD --', { options }).then(
return this.exec('git diff --quiet HEAD', { options }).then(
() => true,
() => false
);
Expand Down

0 comments on commit 8cbac81

Please sign in to comment.