Commit 9069479
authored
fix(security): treat 'no package sources' as pass in osv-scanner (#11)
osv-scanner v2 exits 128 when a target has no package manifests
(e.g. scripts-only repos like resq-software/dev). That's not a failure —
it just means there's nothing to scan. Map 128 → exit 0 and leave all
other exit codes as-is.1 parent 3dfbe86 commit 9069479
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
144 | 153 | | |
145 | 154 | | |
146 | 155 | | |
| |||
0 commit comments