Skip to content

Commit 2188590

Browse files
committed
fix: parse dsdx empty
1 parent 79bd286 commit 2188590

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opensca/sca/sbom/dsdx.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func ParseDsdxXml(f *model.File) *model.DepGraph {
3131

3232
func parseDsdxDoc(f *model.File, doc *model.DsdxDocument) *model.DepGraph {
3333

34-
if doc == nil || doc.DSDXVersion == "" {
34+
if doc == nil {
3535
return nil
3636
}
3737

0 commit comments

Comments
 (0)