Commit 291638a
committed
fix: executePermissionRequestHook内のマージロジックに UpdatedPermissions を追加
複数アクションを持つフックで後のアクションの UpdatedPermissions が破棄される
バグを修正。updatedInput と同様に last non-null wins のロジックを追加。
合わせて deny/ask への切り替わり時に UpdatedPermissions もクリアする。
Codexレビュー(3回目)で指摘。1 parent 6151b3d commit 291638a
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
787 | 787 | | |
788 | 788 | | |
789 | 789 | | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
790 | 795 | | |
791 | 796 | | |
792 | 797 | | |
793 | 798 | | |
794 | | - | |
795 | | - | |
| 799 | + | |
| 800 | + | |
796 | 801 | | |
| 802 | + | |
797 | 803 | | |
798 | 804 | | |
799 | 805 | | |
| |||
0 commit comments