File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " create-servest" ,
3- "version" : " 1.2.0-beta.4 " ,
3+ "version" : " 1.2.0-beta.5 " ,
44 "type" : " module" ,
55 "license" : " MIT" ,
66 "author" : " Rashedin Islam <https://www.rashedin.dev>" ,
Original file line number Diff line number Diff line change @@ -201,7 +201,11 @@ async function init() {
201201 }
202202
203203 // 7️⃣ Running addons if specified
204- const addons = addonsArg ? addonsArg . split ( / \s + / ) . filter ( Boolean ) : [ ] ;
204+ // Start with the -a/-addons value (if any)
205+ let addons : string [ ] = addonsArg ? addonsArg . split ( / \s + / ) . filter ( Boolean ) : [ ] ;
206+
207+ // Include any extra positional arguments after the project name
208+ addons = addons . concat ( argv . _ . slice ( 1 ) ) ;
205209
206210 console . log ( 'addons' , addons ) ;
207211
You can’t perform that action at this time.
0 commit comments