Commit 93fbfd5
Fix magic number linting error and correct tar file validation logic
- Replace magic number 2 with named constant minPartsForTaggedImage
- Fix tar file detection to reject invalid formats (e.g., file.tar:tag)
- Update test cases to reflect correct behavior (tar files cannot have tags)
- Add comprehensive test coverage for tar file detection and local resolution enforcement1 parent 94a3ed3 commit 93fbfd5
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2345 | 2345 | | |
2346 | 2346 | | |
2347 | 2347 | | |
2348 | | - | |
| 2348 | + | |
| 2349 | + | |
2349 | 2350 | | |
2350 | 2351 | | |
2351 | 2352 | | |
| |||
0 commit comments