mirror of
https://github.com/anchore/syft.git
synced 2026-11-01 15:06:36 +01:00
add dpkg conffile update to json schema + json test snapshots
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
@@ -80,6 +80,11 @@ func parseDpkgStatusEntry(reader *bufio.Reader) (pkg.DpkgMetadata, error) {
|
||||
}
|
||||
}
|
||||
|
||||
if entry.Files == nil {
|
||||
// ensure that the collection is always allocated
|
||||
entry.Files = make([]pkg.DpkgFileRecord, 0)
|
||||
}
|
||||
|
||||
return entry, retErr
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user