Skip to content

Commit 45cad0c

Browse files
authored
fix: when executing multiple actions, only check git status once (#4332)
1 parent a2ae8ea commit 45cad0c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/@vue/cli/lib/util/confirmIfGitDirty.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ module.exports = async function confirmIfGitDirty (context) {
88
return true
99
}
1010

11+
process.env.VUE_CLI_SKIP_DIRTY_GIT_PROMPT = true
12+
1113
if (!hasProjectGit(context)) {
1214
return true
1315
}

0 commit comments

Comments
 (0)