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 26bdb51 commit 00acca5Copy full SHA for 00acca5
packages/@vue/cli/bin/vue.js
@@ -248,9 +248,7 @@ if (!process.argv.slice(2).length) {
248
}
249
250
function suggestCommands (unknownCommand) {
251
- const availableCommands = program.commands.map(cmd => {
252
- return cmd._name
253
- })
+ const availableCommands = program.commands.map(cmd => cmd._name)
254
255
const suggestion = didYouMean(unknownCommand, availableCommands)
256
if (suggestion) {
0 commit comments