Commit 29671d2
committed
fix(token-guard): skip ALWAYS_DANGEROUS check when redaction is already present
Bugbot flagged: step 1 fired matchesAlwaysDangerous unconditionally,
blocking 'env | sed s/=.*/=<redacted>/' even though sed redaction is
the suggested fix. Steps 2 and 4 already gate on hasRedaction; step
1 now does too.1 parent bcbb0ea commit 29671d2
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