@@ -109,8 +109,8 @@ async function runCommandsAndInstallDependencies(
109
109
) {
110
110
s ?. start ( `Setting up starter ${ options . starter . name } ...` )
111
111
await environment . execute (
112
- options . starter . command ! . command ,
113
- options . starter . command ! . args || [ ] ,
112
+ options . starter . command . command ,
113
+ options . starter . command . args || [ ] ,
114
114
resolve ( targetDir ) ,
115
115
)
116
116
s ?. stop ( `Starter ${ options . starter . name } setup complete` )
@@ -146,18 +146,13 @@ Errors were encountered during this process:
146
146
${ environment . getErrors ( ) . join ( '\n' ) } `
147
147
}
148
148
149
- const start = ! ! options . chosenAddOns . find ( ( a ) => a . id === 'start' )
150
- const { command, args } = getPackageManagerScriptCommand (
151
- options . packageManager ,
152
- start ? [ 'dev' ] : [ 'start' ] ,
153
- )
154
- const startCommand = formatCommand ( command , args )
155
-
156
149
environment . outro ( `Your ${ appName } app is ready in '${ basename ( targetDir ) } '.
157
150
158
151
Use the following commands to start your app:
159
152
% cd ${ options . projectName }
160
- % ${ startCommand }
153
+ % ${ formatCommand (
154
+ getPackageManagerScriptCommand ( options . packageManager , [ 'dev' ] ) ,
155
+ ) }
161
156
162
157
Please check the README.md for more information on testing, styling, adding routes, etc.${ errorStatement } ` )
163
158
}
0 commit comments