We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
confirmIfGitDirty
1 parent bf983d7 commit 7384c62Copy full SHA for 7384c62
packages/@vue/cli/lib/util/confirmIfGitDirty.js
@@ -4,7 +4,7 @@ const inquirer = require('inquirer')
4
const { warn, hasProjectGit } = require('@vue/cli-shared-utils')
5
6
module.exports = async function confirmIfGitDirty (context) {
7
- if (process.env.VUE_CLI_SKIP_DIRTY_GIT_PROMPT) {
+ if (process.env.VUE_CLI_SKIP_DIRTY_GIT_PROMPT || process.env.VUE_CLI_API_MODE) {
8
return true
9
}
10
0 commit comments