Skip to content

Commit caff3e3

Browse files
Merge pull request #300 from luotianqi777/fix_dsdx
fix: parse dsdx empty
2 parents 8131d43 + 2188590 commit caff3e3

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)