Commit 6ab08f1
fix: handle __404__ sentinel in github-dockerfile-discovery (#25)
- search_org_dockerfiles: add __404__ to the existing __422__ guard so
orgs with no code-search access are skipped cleanly instead of trying
to jq-parse the sentinel string
- fetch_dockerfile_content: check for __404__ and __422__ alongside the
empty-string guard to avoid a misleading 'Unexpected encoding' warning
when a file is not found
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 6df5f43 commit 6ab08f1
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
| 285 | + | |
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
| |||
0 commit comments