Commit cf895e0
committed
fix(token-guard): skip ALWAYS_DANGEROUS check when redaction is already present
Sync from socket-repo-template@b52ab60. Step 1 fired
matchesAlwaysDangerous unconditionally, blocking 'env | sed' even
though sed redaction is the suggested fix. Now gates on hasRedaction
like steps 2 and 4.1 parent bfb8bd0 commit cf895e0
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
162 | 164 | | |
163 | | - | |
| 165 | + | |
164 | 166 | | |
165 | 167 | | |
166 | 168 | | |
| |||
0 commit comments