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.
1 parent 315baa4 commit 7458798Copy full SHA for 7458798
bin/vue-codemod.ts
@@ -64,11 +64,11 @@ const {
64
async function main() {
65
// Remind user to back up files
66
const answer = question(
67
- 'Warning!!\n ' +
+ 'Warning!!\n' +
68
'This tool may overwrite files.\n' +
69
- 'Enter yes to continue:'
+ 'press enter or enter yes or enter Y to continue:'
70
)
71
- if (answer.trim() !== 'yes') {
+ if (!['', 'yes', 'Y'].includes(answer.trim())) {
72
return
73
}
74
0 commit comments