Commit 6434eef
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 71d0f7f commit 6434eef
1 file changed
Lines changed: 7 additions & 4 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
| |||
0 commit comments