Skip to content

Commit 4504e49

Browse files
committed
Update running method
1 parent 1aec892 commit 4504e49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/codespace/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,5 +261,5 @@ func (c codespace) hasUnsavedChanges() bool {
261261

262262
// running returns whether the codespace environment is running.
263263
func (c codespace) running() bool {
264-
return c.Environment.State == api.CodespaceEnvironmentStateAvailable
264+
return c.State == api.CodespaceStateAvailable
265265
}

0 commit comments

Comments
 (0)