File tree Expand file tree Collapse file tree 1 file changed +4
-16
lines changed
packages/create-jellycommands/src Expand file tree Collapse file tree 1 file changed +4
-16
lines changed Original file line number Diff line number Diff 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} ;
You can’t perform that action at this time.
0 commit comments