File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -276,6 +276,11 @@ for (let i = 0; i < args.length; i++) {
276
276
}
277
277
}
278
278
279
+ if (! args .length ) {
280
+ options .condition = " " ;
281
+ options .folderPathOrNameOrLink = " " ;
282
+ }
283
+
279
284
// Check for unsupported or invalid options
280
285
if (Object .values (options).some ((value ) => value === null )) {
281
286
console .error (` Missing required option or invalid usage.` );
@@ -558,7 +563,7 @@ ${chalk.bold.underline.white("Package Commands:")}
558
563
` ` ` json
559
564
{
560
565
" name" : " @s54a/init" ,
561
- " version" : " 4.2 .0" ,
566
+ " version" : " 4.5 .0" ,
562
567
" description" : " Project Initializer" ,
563
568
" main" : " ./index.js" ,
564
569
" type" : " module" ,
Original file line number Diff line number Diff line change @@ -77,6 +77,11 @@ for (let i = 0; i < args.length; i++) {
77
77
}
78
78
}
79
79
80
+ if ( ! args . length ) {
81
+ options . condition = "" ;
82
+ options . folderPathOrNameOrLink = "" ;
83
+ }
84
+
80
85
// Check for unsupported or invalid options
81
86
if ( Object . values ( options ) . some ( ( value ) => value === null ) ) {
82
87
console . error ( `Missing required option or invalid usage.` ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @s54a/init" ,
3
- "version" : " 4.2 .0" ,
3
+ "version" : " 4.5 .0" ,
4
4
"description" : " Project Initializer" ,
5
5
"main" : " ./index.js" ,
6
6
"type" : " module" ,
You can’t perform that action at this time.
0 commit comments