Merge pull request #5605 from cannist/cannist/fix-npe
Fix nil pointer exception in codespace selection
This commit is contained in:
commit
c26ff6ac9a
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ func chooseCodespaceFromList(ctx context.Context, codespaces []*api.Codespace) (
|
|||
codespacesNames[seenCodespace.idx] = fullDisplayNameWithGitStatus
|
||||
|
||||
// Update the git status dirty map to reflect the new name.
|
||||
if cs.hasUnsavedChanges() {
|
||||
if seenCodespace.cs.hasUnsavedChanges() {
|
||||
codespacesDirty[fullDisplayNameWithGitStatus] = true
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue