8000 refactor: use inline style by jamesgeorge007 · Pull Request #4904 · vuejs/vue-cli · GitHub
[go: up one dir, main page]

Skip to content

refactor: use inline style #4904

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 12, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file E602
Failed to load files.
Loading
Diff view
Diff view
refactor: use inline function
  • Loading branch information
jamesgeorge007 committed Nov 30, 2019
commit d552dda788fe0d131dbea85774b5aa8c07b0fa7e
4 changes: 1 addition & 3 deletions packages/@vue/cli/bin/vue.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,7 @@ if (!process.argv.slice(2).length) {
}

function suggestCommands (unknownCommand) {
const availableCommands = program.commands.map(cmd => {
return cmd._name
})
const availableCommands = program.commands.map(cmd => cmd._name)

const suggestion = didYouMean(unknownCommand, availableCommands)
if (suggestion) {
Expand Down
0