Skip to content

Commit a584d15

Browse files
committed
chore: format
1 parent 59715e2 commit a584d15

File tree

1 file changed

+4
-16
lines changed
  • packages/create-jellycommands/src

1 file changed

+4
-16
lines changed

packages/create-jellycommands/src/index.js

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ export const run = async () => {
2525
{
2626
type: 'confirm',
2727
name: 'confirm',
28-
message: kleur.red(
29-
'No directory specified. Create in current directory?',
30-
),
28+
message: kleur.red('No directory specified. Create in current directory?'),
3129
},
3230
{ onCancel },
3331
);
@@ -61,19 +59,11 @@ export const run = async () => {
6159
{ onCancel },
6260
);
6361

64-
const templateGlob = desmJoin(
65-
import.meta.url,
66-
useTypeScript ? 'ts' : 'js',
67-
'/**',
68-
);
62+
const templateGlob = desmJoin(import.meta.url, useTypeScript ? 'ts' : 'js', '/**');
6963

7064
await cpy(templateGlob, target);
7165

72-
console.log(
73-
`${logSymbols.success} ${kleur.green(
74-
'Your project has been created!',
75-
)}`,
76-
);
66+
console.log(`${logSymbols.success} ${kleur.green('Your project has been created!')}`);
7767

7868
console.log();
7969
console.log('Now you can:');
@@ -87,7 +77,5 @@ export const run = async () => {
8777

8878
numbered
8979
.filter(Boolean)
90-
.forEach((item, index) =>
91-
console.log(` ${kleur.gray(index + 1)}) ${item}`),
92-
);
80+
.forEach((item, index) => console.log(` ${kleur.gray(index + 1)}) ${item}`));
9381
};

0 commit comments

Comments
 (0)