Skip to content

Commit 9c8351e

Browse files
committed
Merge branch 'trunk' of github.com:cli/cli into jg/liveshare-keepalive
2 parents 55f4fcf + cff6cf9 commit 9c8351e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

internal/codespaces/api/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ type CreateCodespaceParams struct {
425425
func (a *API) CreateCodespace(ctx context.Context, params *CreateCodespaceParams) (*Codespace, error) {
426426
codespace, err := a.startCreate(ctx, params.RepositoryID, params.Machine, params.Branch, params.Location)
427427
if err != errProvisioningInProgress {
428-
return nil, err
428+
return codespace, err
429429
}
430430

431431
// errProvisioningInProgress indicates that codespace creation did not complete

pkg/cmd/extension/manager.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ func NewManager(io *iostreams.IOStreams) *Manager {
4646
platform: func() string {
4747
return fmt.Sprintf("%s-%s", runtime.GOOS, runtime.GOARCH)
4848
},
49+
io: io,
4950
}
5051
}
5152

0 commit comments

Comments
 (0)