mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-04-27 15:30:02 -05:00
chore: skip confirmIfGitDirty in API MODE (for now)
This commit is contained in:
@@ -4,7 +4,7 @@ const inquirer = require('inquirer')
|
||||
const { warn, hasProjectGit } = require('@vue/cli-shared-utils')
|
||||
|
||||
module.exports = async function confirmIfGitDirty (context) {
|
||||
if (process.env.VUE_CLI_SKIP_DIRTY_GIT_PROMPT) {
|
||||
if (process.env.VUE_CLI_SKIP_DIRTY_GIT_PROMPT || process.env.VUE_CLI_API_MODE) {
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user