mirror of
https://github.com/anchore/syft.git
synced 2026-11-01 15:06:36 +01:00
rename file.Location.VirtualPath to AccessPath (#2288)
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
@@ -80,7 +80,7 @@ func Test_EncodeDecodeCycle(t *testing.T) {
|
||||
}
|
||||
|
||||
for _, d := range deep.Equal(p, actualPackages[idx]) {
|
||||
if strings.Contains(d, ".VirtualPath: ") {
|
||||
if strings.Contains(d, ".AccessPath: ") {
|
||||
// location.Virtual path is not exposed in the json output
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user