mirror of
https://github.com/anchore/syft
synced 2024-11-10 06:14:16 +00:00
chore(deps): update bootstrap tools to latest versions (#1857)
* chore(deps): update bootstrap tools to latest versions Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com> Co-authored-by: Christopher Phillips <christopher.phillips@anchore.com>
This commit is contained in:
parent
f07581f504
commit
7d1b292ad0
3 changed files with 3 additions and 3 deletions
|
@ -12,7 +12,6 @@ linters:
|
|||
enable:
|
||||
- asciicheck
|
||||
- bodyclose
|
||||
- depguard
|
||||
- dogsled
|
||||
- dupl
|
||||
- errcheck
|
||||
|
@ -57,6 +56,7 @@ run:
|
|||
|
||||
# do not enable...
|
||||
# - deadcode # The owner seems to have abandoned the linter. Replaced by "unused".
|
||||
# - depguard # We don't have a configuration for this yet
|
||||
# - goprintffuncname # does not catch all cases and there are exceptions
|
||||
# - nakedret # does not catch all cases and should not fail a build
|
||||
# - gochecknoglobals
|
||||
|
|
2
Makefile
2
Makefile
|
@ -10,7 +10,7 @@ CHRONICLE_CMD = $(TEMP_DIR)/chronicle
|
|||
GLOW_CMD = $(TEMP_DIR)/glow
|
||||
|
||||
# Tool versions #################################
|
||||
GOLANGCILINT_VERSION := v1.52.2
|
||||
GOLANGCILINT_VERSION := v1.53.2
|
||||
GOSIMPORTS_VERSION := v0.3.8
|
||||
BOUNCER_VERSION := v0.4.0
|
||||
CHRONICLE_VERSION := v0.6.0
|
||||
|
|
|
@ -374,7 +374,7 @@ func (f unindexedDirectoryResolverFS) resolve(filePath string) (resolved string,
|
|||
abs := f.u.absPath(resolved)
|
||||
fi, _, err = f.u.ls.LstatIfPossible(abs)
|
||||
if err != nil {
|
||||
return
|
||||
return resolved, fi, err
|
||||
}
|
||||
for f.u.isSymlink(fi) {
|
||||
if slices.Contains(visited, resolved) {
|
||||
|
|
Loading…
Reference in a new issue