chore(deps): update tools to latest versions (#3121)

* chore(deps): update tools to latest versions

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* chore: update code to reflect new linter settings for error messages

Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com>

---------

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com>
Co-authored-by: spiffcs <32073428+spiffcs@users.noreply.github.com>
This commit is contained in:
anchore-actions-token-generator[bot]
2024-08-16 17:56:36 +00:00
committed by GitHub
co-authored by spiffcs
parent 4ff60ee837
commit 4b7ae0ed3b
9 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ func parseMixLock(_ context.Context, _ file.Resolver, _ *generic.Environment, re
for {
line, err := r.ReadString('\n')
switch {
case errors.Is(io.EOF, err):
case errors.Is(err, io.EOF):
return packages, nil, nil
case err != nil:
return nil, nil, fmt.Errorf("failed to parse mix.lock file: %w", err)