Skip to content

Commit 625f3ac

Browse files
author
Mark Phelps
committed
Updates wording for codespaces accept permissions flow
1 parent 5772c09 commit 625f3ac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/cmd/codespace/create.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ func (a *App) handleAdditionalPermissions(ctx context.Context, createParams *api
164164
}
165165

166166
choices := []string{
167-
"Continue in browser to review and authorize additional permissions",
167+
"Continue in browser to review and authorize additional permissions (Recommended)",
168168
"Continue without authorizing additional permissions",
169169
}
170170

@@ -190,6 +190,7 @@ func (a *App) handleAdditionalPermissions(ctx context.Context, createParams *api
190190

191191
// if the user chose to continue in the browser, open the URL
192192
if answers.Accept == choices[0] {
193+
fmt.Fprintln(a.io.ErrOut, "Please re-run the create request after accepting permissions in the browser.")
193194
if err := a.browser.Browse(allowPermissionsURL); err != nil {
194195
return nil, fmt.Errorf("error opening browser: %w", err)
195196
}

0 commit comments

Comments
 (0)