mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-31 07:40:33 +00:00
parent
64c73b09a1
commit
0c4b442ccb
@ -29,7 +29,8 @@ async function _main () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
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) {
|
if (args.h || args.help) {
|
||||||
showHelp(cmd.meta)
|
showHelp(cmd.meta)
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user