@@ -160,12 +160,10 @@ Examples:
160160 if err != nil {
161161 return err
162162 }
163-
164163 // --config: print configuration without launching
165164 if configOnly {
166165 return printAppConfig (cmd , app , ep , image , port )
167166 }
168-
169167 if ca , ok := containerApps [app ]; ok {
170168 return launchContainerApp (cmd , ca , ep .container , image , port , detach , appArgs , dryRun )
171169 }
@@ -343,7 +341,6 @@ func launchHostApp(cmd *cobra.Command, bin string, baseURL string, cli hostApp,
343341 if bin == "opencode" {
344342 return launchOpenCode (cmd , baseURL , model , runner , appArgs , dryRun )
345343 }
346-
347344 if ! dryRun {
348345 if _ , err := exec .LookPath (bin ); err != nil {
349346 cmd .PrintErrf ("%q executable not found in PATH.\n " , bin )
@@ -356,11 +353,9 @@ func launchHostApp(cmd *cobra.Command, bin string, baseURL string, cli hostApp,
356353 return fmt .Errorf ("%s not found; please install it and re-run" , bin )
357354 }
358355 }
359-
360356 if cli .envFn == nil {
361357 return launchUnconfigurableHostApp (cmd , bin , baseURL , cli , appArgs , dryRun )
362358 }
363-
364359 env := cli .envFn (baseURL )
365360 if dryRun {
366361 cmd .Printf ("Would run: %s %s\n " , bin , strings .Join (appArgs , " " ))
0 commit comments