Skip to content

Commit 7384c62

Browse files
committed
chore: skip confirmIfGitDirty in API MODE (for now)
1 parent bf983d7 commit 7384c62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const inquirer = require('inquirer')
44
const { warn, hasProjectGit } = require('@vue/cli-shared-utils')
55

66
module.exports = async function confirmIfGitDirty (context) {
7-
if (process.env.VUE_CLI_SKIP_DIRTY_GIT_PROMPT) {
7+
if (process.env.VUE_CLI_SKIP_DIRTY_GIT_PROMPT || process.env.VUE_CLI_API_MODE) {
88
return true
99
}
1010

0 commit comments

Comments
 (0)