mirror of
https://github.com/anchore/syft.git
synced 2026-11-05 00:46:38 +01:00
feat: update to go 1.24.x (#3660)
* feat: update to go 1.24.x Update to building with go 1.24.x so that the main module version gets set during `go build` Signed-off-by: Weston Steimel <author@code.w.steimel.me.uk> * chore: bump golangci-lint for go 1.24.x support Signed-off-by: Weston Steimel <author@code.w.steimel.me.uk> * chore: appease the updated linter Signed-off-by: Weston Steimel <author@code.w.steimel.me.uk> * chore: fix test logging for go 1.24 Signed-off-by: Weston Steimel <author@code.w.steimel.me.uk> --------- Signed-off-by: Weston Steimel <author@code.w.steimel.me.uk>
This commit is contained in:
@@ -201,10 +201,9 @@ func parseRockspecNode(data []byte, i *int, locals map[string]string) (*rockspec
|
||||
if c == '{' && c2 == '}' {
|
||||
*i = offset + 1
|
||||
return &rockspecNode{}, nil
|
||||
} else {
|
||||
*i = offset
|
||||
}
|
||||
|
||||
*i = offset
|
||||
parsing.SkipWhitespace(data, i)
|
||||
|
||||
obj, err := parseRockspecBlock(data, i, locals)
|
||||
|
||||
Reference in New Issue
Block a user