Skip to content

Commit

Permalink
Fix deployment handling (#194)
Browse files Browse the repository at this point in the history
The error variable was shadowed by mistake, causing deployment errors to be ignored
  • Loading branch information
karolz-ms authored Jul 28, 2022
1 parent 80758a3 commit bad5ed4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/azd/cmd/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func (d *deployAction) Run(ctx context.Context, cmd *cobra.Command, args []strin
fmt.Println(deployMsg)
spinner := spin.NewSpinner(deployMsg)
spinner.Start()
err := deployAndReportProgress(spinner.Title)
err = deployAndReportProgress(spinner.Title)
spinner.Stop()

if err == nil {
Expand Down

0 comments on commit bad5ed4

Please sign in to comment.