Commit 5db7bd0
committed
refactor: use set operations for scope validation per reviewer feedback
Replace the for-loop with set.issubset() for clarity and to report all
invalid scopes at once rather than one per loop iteration.
Github-Issue: #22161 parent e8db312 commit 5db7bd0
1 file changed
Lines changed: 7 additions & 4 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
99 | 102 | | |
100 | 103 | | |
101 | 104 | | |
| |||
0 commit comments