mirror of
https://github.com/anchore/syft.git
synced 2026-11-04 16:36:40 +01:00
rename file.Location.VirtualPath to AccessPath (#2288)
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
@@ -165,8 +165,8 @@ nextPath:
|
||||
for i := range out {
|
||||
existing := &out[i]
|
||||
if existing.RealPath == l.RealPath {
|
||||
if l.VirtualPath == "" {
|
||||
existing.VirtualPath = ""
|
||||
if l.AccessPath == "" {
|
||||
existing.AccessPath = ""
|
||||
}
|
||||
continue nextPath
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user