Skip to content

Commit 90b658f

Browse files
committed
remove await to allow cancel prompt sooner
1 parent 9a68c63 commit 90b658f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/remoteSession.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ export async function promptToAddPolicies(client: IamClient, roleArn: string): P
194194
const confirmation = await showConfirmationMessage({ prompt: promptText, confirm: 'Approve' })
195195

196196
if (confirmation) {
197-
await addSsmActionsToInlinePolicy(client, roleArn)
197+
addSsmActionsToInlinePolicy(client, roleArn)
198198
}
199199

200200
return confirmation

0 commit comments

Comments
 (0)