Skip to content

Commit

Permalink
Exit process after finishing blitz new command (#3749)
Browse files Browse the repository at this point in the history
  • Loading branch information
beerose authored Aug 17, 2022
1 parent db7233d commit 3f9fe8f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/purple-donkeys-smash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"blitz": patch
---

Exit CLI process after `blitz new` command is finished
2 changes: 2 additions & 0 deletions packages/blitz/src/cli/commands/new.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,10 @@ const newApp: CliCommand = async (argv) => {
console.log(chalk.yellow(` ${index + 1}. ${step}`))
})
console.log("") // new line
process.exit(0)
} catch (error) {
console.error(error)
process.exit(1)
}
}

Expand Down

0 comments on commit 3f9fe8f

Please sign in to comment.