Skip to content

Commit 3426736

Browse files
author
Guillaume Chau
committed
fix(ui): prompt confirm checked
1 parent b6114d4 commit 3426736

File tree

1 file changed

+1
-0
lines changed
  • packages/@vue/cli-ui/src/graphql-api/connectors

1 file changed

+1
-0
lines changed

packages/@vue/cli-ui/src/graphql-api/connectors/prompts.js

+1
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ async function getDefaultValue (prompt) {
227227
)
228228
}
229229
} else if (prompt.type === 'confirm') {
230+
if (prompt.raw.checked) return true
230231
return defaultValue || false
231232
}
232233
return defaultValue

0 commit comments

Comments
 (0)