Skip to content

Commit b079123

Browse files
authored
fix: run command shows all workspaces option first in org grant prompt (#426)
fix(prompts): show all workspaces option first in org grant prompt for run command
1 parent c20760d commit b079123

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/platform/run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ func RunRunCommand(clients *shared.ClientFactory, cmd *cobra.Command, args []str
125125
}
126126
}
127127

128-
runFlags.orgGrantWorkspaceID, err = prompts.ValidateGetOrgWorkspaceGrant(ctx, clients, &selection, runFlags.orgGrantWorkspaceID, false /* top prompt option should be 'all workspaces' */)
128+
runFlags.orgGrantWorkspaceID, err = prompts.ValidateGetOrgWorkspaceGrant(ctx, clients, &selection, runFlags.orgGrantWorkspaceID, true /* top prompt option should be 'all workspaces' */)
129129
if err != nil {
130130
return err
131131
}

0 commit comments

Comments
 (0)