mirror of
https://github.com/anchore/syft.git
synced 2026-10-30 22:12:28 +01:00
fix tests and linting
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
@@ -155,16 +155,7 @@ func toFiles(s sbom.SBOM) []model.File {
|
||||
digests = digestsForLocation
|
||||
}
|
||||
|
||||
// TODO: these could make it into the document
|
||||
//var classifications []file.Classification
|
||||
//if classificationsForLocation, exists := artifacts.FileClassifications[coordinates]; exists {
|
||||
// classifications = classificationsForLocation
|
||||
//}
|
||||
//
|
||||
//var contents string
|
||||
//if contentsForLocation, exists := artifacts.FileContents[coordinates]; exists {
|
||||
// contents = contentsForLocation
|
||||
//}
|
||||
// TODO: add file classifications (?) and content as a snippet
|
||||
|
||||
var comment string
|
||||
if coordinates.FileSystemID != "" {
|
||||
|
||||
Reference in New Issue
Block a user