mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 17:35:57 +00:00
parent
64c73b09a1
commit
0c4b442ccb
@ -29,7 +29,8 @@ async function _main () {
|
||||
}
|
||||
|
||||
try {
|
||||
const cmd = await commands[command as Command]().then(c => c.default || c) as NuxtCommand
|
||||
// @ts-ignore default.default is hotfix for #621
|
||||
const cmd = await commands[command as Command]().then(c => c.default.default) as NuxtCommand
|
||||
if (args.h || args.help) {
|
||||
showHelp(cmd.meta)
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user