Skip to content

Commit

Permalink
refactor: prettier formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
HipsterBrown committed Dec 22, 2024
1 parent 2628906 commit 7f057a9
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/commands/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ const command = buildCommand({
const filteredChoices = choices.filter((choice) =>
choice.includes(String(example)),
)
; ({ example: selectedExample } = await prompt.ask([
{
type: 'autocomplete',
name: 'example',
message: 'Here are the available examples templates:',
choices: filteredChoices.length > 0 ? filteredChoices : choices,
},
]))
;({ example: selectedExample } = await prompt.ask([
{
type: 'autocomplete',
name: 'example',
message: 'Here are the available examples templates:',
choices: filteredChoices.length > 0 ? filteredChoices : choices,
},
]))
}

// copy files into new project directory
Expand All @@ -89,9 +89,9 @@ const command = buildCommand({
const includes = [
io
? [
'"$(MODDABLE)/modules/io/manifest.json"',
'"$(MODDABLE)/examples/manifest_net.json"',
]
'"$(MODDABLE)/modules/io/manifest.json"',
'"$(MODDABLE)/examples/manifest_net.json"',
]
: '"$(MODDABLE)/examples/manifest_base.json"',
typescript && '"$(MODDABLE)/examples/manifest_typings.json"',
]
Expand Down

0 comments on commit 7f057a9

Please sign in to comment.