X Tutup
Skip to content

Commit b513929

Browse files
authored
Merge pull request cli#4551 from cli/jg/fix-git-status
codespace: fix Git status fields to snake case
2 parents cbab904 + 337c557 commit b513929

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/codespaces/api/api.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ type CodespaceGitStatus struct {
155155
Ahead int `json:"ahead"`
156156
Behind int `json:"behind"`
157157
Ref string `json:"ref"`
158-
HasUnpushedChanges bool `json:"hasUnpushedChanges"`
159-
HasUncommitedChanges bool `json:"hasUncommitedChanges"`
158+
HasUnpushedChanges bool `json:"has_unpushed_changes"`
159+
HasUncommitedChanges bool `json:"has_uncommited_changes"`
160160
}
161161

162162
const (

0 commit comments

Comments
 (0)
X Tutup