mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
Update syft bootstrap tools to latest versions. (#1541)
* Update syft bootstrap tools to latest versions. Signed-off-by: GitHub <noreply@github.com> * fix: remove ineff assign Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com> --------- Signed-off-by: GitHub <noreply@github.com> Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com> Co-authored-by: spiffcs <spiffcs@users.noreply.github.com> Co-authored-by: Christopher Phillips <christopher.phillips@anchore.com>
This commit is contained in:
parent
9650473298
commit
deb7052f41
2
Makefile
2
Makefile
@ -8,7 +8,7 @@ RELEASE_CMD := $(TEMP_DIR)/goreleaser release --rm-dist
|
|||||||
SNAPSHOT_CMD := $(RELEASE_CMD) --skip-publish --skip-sign --snapshot
|
SNAPSHOT_CMD := $(RELEASE_CMD) --skip-publish --skip-sign --snapshot
|
||||||
|
|
||||||
# Tool versions #################################
|
# Tool versions #################################
|
||||||
GOLANGCILINT_VERSION := v1.51.0
|
GOLANGCILINT_VERSION := v1.51.1
|
||||||
GOSIMPORTS_VERSION := v0.3.5
|
GOSIMPORTS_VERSION := v0.3.5
|
||||||
BOUNCER_VERSION := v0.4.0
|
BOUNCER_VERSION := v0.4.0
|
||||||
CHRONICLE_VERSION := v0.5.1
|
CHRONICLE_VERSION := v0.5.1
|
||||||
|
|||||||
@ -146,9 +146,7 @@ func findArchiveStartOffset(r io.ReaderAt, size int64) (startOfArchive uint64, e
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
startOfArchive = 0 // Prefixed data not supported
|
|
||||||
}
|
}
|
||||||
|
|
||||||
startOfArchive = uint64(directoryEndOffset) - d.directorySize - d.directoryOffset
|
startOfArchive = uint64(directoryEndOffset) - d.directorySize - d.directoryOffset
|
||||||
|
|
||||||
// Make sure directoryOffset points to somewhere in our file.
|
// Make sure directoryOffset points to somewhere in our file.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user