Corrected code to update codespace from selected codespace name if chosen from list of codespaces

This commit is contained in:
Ashwin Jeyaseelan 2022-05-24 17:44:45 +00:00 committed by GitHub
parent c2c4afdf6d
commit 1084fd149b
2 changed files with 186 additions and 1 deletions

View file

@ -62,7 +62,7 @@ func (a *App) Edit(ctx context.Context, opts editOptions) error {
return fmt.Errorf("error choosing codespace: %w", err)
}
opts.codespaceName = selectedCodespace.Name
userInputs.CodespaceName = selectedCodespace.Name
}
a.StartProgressIndicatorWithLabel("Editing codespace")