Skip to content

Commit

Permalink
fix: when executing multiple actions, only check git status once (vue…
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqunjiang authored Jul 22, 2019
1 parent a2ae8ea commit 45cad0c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/@vue/cli/lib/util/confirmIfGitDirty.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ module.exports = async function confirmIfGitDirty (context) {
return true
}

process.env.VUE_CLI_SKIP_DIRTY_GIT_PROMPT = true

if (!hasProjectGit(context)) {
return true
}
Expand Down

0 comments on commit 45cad0c

Please sign in to comment.