Skip to content

Commit 06fa369

Browse files
committed
Remove startup command prompt
1 parent 790a148 commit 06fa369

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

cli/azd/internal/cmd/add/add_configure_host.go

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -312,22 +312,9 @@ func addServiceAsResource(
312312
output.WithHighLightFormat(string(runtime.Stack)+" "+runtime.Version),
313313
color.MagentaString("Azure App Service")))
314314

315-
startupCommand, err := console.Prompt(ctx, input.ConsoleOptions{
316-
Message: "Enter an optional startup command:",
317-
Help: fmt.Sprintf(
318-
"A custom startup command lets you override the default command used to start your application. %s",
319-
output.WithHyperlink("https://go.microsoft.com/fwlink/?linkid=861969", "Learn more."),
320-
),
321-
DefaultValue: "",
322-
})
323-
if err != nil {
324-
return nil, err
325-
}
326-
327315
resSpec.Props = project.AppServiceProps{
328-
Port: port,
329-
Runtime: runtime,
330-
StartupCommand: startupCommand,
316+
Port: port,
317+
Runtime: runtime,
331318
}
332319
}
333320

0 commit comments

Comments
 (0)