fix progress indicator bug
This commit is contained in:
parent
75c6c2c877
commit
fc55e01d86
1 changed files with 3 additions and 2 deletions
|
|
@ -309,11 +309,12 @@ func (a *App) UpdatePortVisibility(ctx context.Context, codespaceName string, ar
|
|||
})
|
||||
|
||||
// wait for success or failure
|
||||
if err := g.Wait(); err != nil {
|
||||
err := g.Wait()
|
||||
a.StopProgressIndicator()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
a.StopProgressIndicator()
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue