This repository was archived by the owner on Mar 25, 2026. It is now read-only.
Commit 5be7430
Fix: use correct permission denial kind in executePermissionAndRespondAsync
The v3 CLI (1.0.3-0) does not recognize "denied-could-not-request-from-user"
as a valid permission result kind. Use the correct constant
PermissionRequestResultKind.DENIED_COULD_NOT_REQUEST_FROM_USER
which maps to "denied-no-approval-rule-and-could-not-request-from-user".
This fixes the CI failures in:
- PermissionsTest.testShouldHandlePermissionHandlerErrorsGracefully
- ErrorHandlingTest.testShouldHandlePermissionHandlerErrorsGracefully_deniesPermission
Co-authored-by: edburns <75821+edburns@users.noreply.github.com>1 parent 1701918 commit 5be7430
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
716 | 717 | | |
717 | 718 | | |
718 | 719 | | |
719 | | - | |
| 720 | + | |
720 | 721 | | |
721 | 722 | | |
722 | 723 | | |
| |||
728 | 729 | | |
729 | 730 | | |
730 | 731 | | |
731 | | - | |
| 732 | + | |
732 | 733 | | |
733 | 734 | | |
734 | 735 | | |
| |||
0 commit comments