Skip to content

Commit 2f80cd7

Browse files
authored
docs: update console output of switch-cli (#183)
1 parent 48cf6ac commit 2f80cd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/switch-cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ if (version === '2.7') {
1313
switchVersion(3, vueEntry)
1414
console.log(`[vue-demi] Switched for Vue 3 (entry: "${vueEntry}")`)
1515
} else {
16-
console.warn(`[vue-demi] expecting version "2" or "3" but got "${version}"`)
16+
console.warn(`[vue-demi] expecting version "2" or "2.7" or "3" but got "${version}"`)
1717
process.exit(1)
1818
}

0 commit comments

Comments
 (0)