From cd6386cf640620323c0a4a660978ecb3efe40c29 Mon Sep 17 00:00:00 2001 From: Jose Garcia Date: Thu, 5 May 2022 15:07:29 -0400 Subject: [PATCH] Update order --- pkg/cmd/codespace/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/codespace/common.go b/pkg/cmd/codespace/common.go index 4133709db..7c4e61039 100644 --- a/pkg/cmd/codespace/common.go +++ b/pkg/cmd/codespace/common.go @@ -205,8 +205,8 @@ func chooseCodespaceFromList(ctx context.Context, codespaces []*api.Codespace) ( // Codespaces are indexed without the git status included as compared // to how it is displayed in the prompt, so the git status symbol needs // cleaning up in case it is included. - isDirty := codespacesDirty[answers.Codespace] selectedCodespace := answers.Codespace + isDirty := codespacesDirty[selectedCodespace] if isDirty { selectedCodespace = withoutGitStatus(answers.Codespace) }