Skip to content

Commit

Permalink
fix(setup): quit without selection
Browse files Browse the repository at this point in the history
  • Loading branch information
thecuvii committed Jul 2, 2024
1 parent 2720ad6 commit 006c31e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/setup/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ const selectedConfigs = (await multiselect({
},
],
required: false,
})) as Config[]
})) as Config[] | undefined

const s = spinner()

s.start(`Setting up your project`)

await install(selectedConfigs)
selectedConfigs && (await install(selectedConfigs))

s.stop()

Expand Down

0 comments on commit 006c31e

Please sign in to comment.