@@ -166,12 +166,10 @@ Examples:
166166 if err != nil {
167167 return err
168168 }
169-
170169 // --config: print configuration without launching
171170 if configOnly {
172171 return printAppConfig (cmd , app , ep , image , port )
173172 }
174-
175173 if ca , ok := containerApps [app ]; ok {
176174 return launchContainerApp (cmd , ca , ep .container , image , port , detach , appArgs , dryRun )
177175 }
@@ -349,7 +347,6 @@ func launchHostApp(cmd *cobra.Command, bin string, baseURL string, cli hostApp,
349347 if bin == "opencode" {
350348 return launchOpenCode (cmd , baseURL , model , runner , appArgs , dryRun )
351349 }
352-
353350 if ! dryRun {
354351 if _ , err := exec .LookPath (bin ); err != nil {
355352 cmd .PrintErrf ("%q executable not found in PATH.\n " , bin )
@@ -362,11 +359,9 @@ func launchHostApp(cmd *cobra.Command, bin string, baseURL string, cli hostApp,
362359 return fmt .Errorf ("%s not found; please install it and re-run" , bin )
363360 }
364361 }
365-
366362 if cli .envFn == nil {
367363 return launchUnconfigurableHostApp (cmd , bin , baseURL , cli , appArgs , dryRun )
368364 }
369-
370365 env := cli .envFn (baseURL )
371366 if dryRun {
372367 cmd .Printf ("Would run: %s %s\n " , bin , strings .Join (appArgs , " " ))
0 commit comments