@@ -109,8 +109,8 @@ async function runCommandsAndInstallDependencies(
109109 ) {
110110 s ?. start ( `Setting up starter ${ options . starter . name } ...` )
111111 await environment . execute (
112- options . starter . command ! . command ,
113- options . starter . command ! . args || [ ] ,
112+ options . starter . command . command ,
113+ options . starter . command . args || [ ] ,
114114 resolve ( targetDir ) ,
115115 )
116116 s ?. stop ( `Starter ${ options . starter . name } setup complete` )
@@ -146,18 +146,13 @@ Errors were encountered during this process:
146146${ environment . getErrors ( ) . join ( '\n' ) } `
147147 }
148148
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-
156149 environment . outro ( `Your ${ appName } app is ready in '${ basename ( targetDir ) } '.
157150
158151Use the following commands to start your app:
159152% cd ${ options . projectName }
160- % ${ startCommand }
153+ % ${ formatCommand (
154+ getPackageManagerScriptCommand ( options . packageManager , [ 'dev' ] ) ,
155+ ) }
161156
162157 Please check the README.md for more information on testing, styling, adding routes, etc.${ errorStatement } ` )
163158}
0 commit comments