mirror of
https://github.com/anchore/syft.git
synced 2026-11-04 16:36:40 +01:00
chore(deps): update Go version (#4773)
Signed-off-by: anchore-oss-update-bot <anchore-oss-update-bot@users.noreply.github.com> Co-authored-by: anchore-oss-update-bot <anchore-oss-update-bot@users.noreply.github.com>
This commit is contained in:
co-authored by
anchore-oss-update-bot
parent
26e87c7cd3
commit
5b58ec96b7
@@ -300,7 +300,7 @@ func (u UnindexedDirectory) resolveLinks(filePath string) []string {
|
||||
resolvedPath := ""
|
||||
|
||||
parts := strings.Split(filePath, "/")
|
||||
for i := 0; i < len(parts); i++ {
|
||||
for i := range parts {
|
||||
part := parts[i]
|
||||
if resolvedPath == "" {
|
||||
resolvedPath = part
|
||||
|
||||
Reference in New Issue
Block a user