Skip to content

Commit

Permalink
fix(nuxi): avoid top-level await in wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Mar 3, 2023
1 parent db5ea91 commit 4406842
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/nuxi/src/cli-wrapper.ts
Expand Up @@ -34,7 +34,7 @@ async function startSubprocess (preArgs: string[], postArgs: string[]) {
const args = process.argv.slice(2)
// only enable wrapper in dev command
if (args[0] === 'dev') {
await startSubprocess([], args)
startSubprocess([], args)
} else {
await import(cliEntry)
import(cliEntry)
}

0 comments on commit 4406842

Please sign in to comment.