Skip to content

Commit 810a165

Browse files
chore: apply automated updates
1 parent 51f11cb commit 810a165

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/cli.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,17 +179,16 @@ const mainCommand = defineCommand({
179179

180180
// Prompt the user which template to use
181181
if (!args.template) {
182-
args.template = await consola.prompt(
183-
`What template would you like to use?`,
184-
{
182+
args.template = await consola
183+
.prompt(`What template would you like to use?`, {
185184
type: "select",
186185
options: TEMPLATES.map((t) => ({
187186
value: t.name,
188187
label: t.description,
189188
})),
190-
cancel: "reject"
191-
},
192-
).catch(() => process.exit(1));
189+
cancel: "reject",
190+
})
191+
.catch(() => process.exit(1));
193192
}
194193

195194
// Download the template

0 commit comments

Comments
 (0)