Skip to content

Commit 48841e0

Browse files
committed
update prompt wording
1 parent 1100c37 commit 48841e0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/collaborators/update.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func promptCollaboratorPermissionSelection(
122122
}
123123
response, err := clients.IO.SelectPrompt(
124124
ctx,
125-
"Select a permission type for this collaborator",
125+
"Select a permission type",
126126
permissionLabels,
127127
iostreams.SelectPromptConfig{
128128
Required: true,

cmd/collaborators/update_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func TestUpdateCommand(t *testing.T) {
6969
appSelectPromptFunc = appSelectMock.AppSelectPrompt
7070
appSelectMock.On("AppSelectPrompt", mock.Anything, mock.Anything, prompts.ShowHostedOnly, prompts.ShowInstalledAndUninstalledApps).Return(prompts.SelectedApp{App: types.App{AppID: "A123"}, Auth: types.SlackAuth{}}, nil)
7171
// Mock permission selection prompt
72-
clientsMock.IO.On("SelectPrompt", mock.Anything, "Select a permission type for this collaborator", mock.Anything, mock.Anything).Return(
72+
clientsMock.IO.On("SelectPrompt", mock.Anything, "Select a permission type", mock.Anything, mock.Anything).Return(
7373
iostreams.SelectPromptResponse{
7474
Prompt: true,
7575
Option: "reader",

0 commit comments

Comments
 (0)