Skip to content

Commit f0fae67

Browse files
authored
Merge pull request #190 from puerco/fix-outliner
Fix panic in outliner
2 parents eaf47e5 + 874d2d5 commit f0fae67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/spdx/parser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ func parseJSON(file *os.File) (doc *Document, err error) {
371371
}
372372

373373
if f, ok = allFiles[el]; ok {
374-
doc.Files[p.SPDXID()] = f
374+
doc.Files[f.SPDXID()] = f
375375
seenObjects[el] = el
376376
continue
377377
}

0 commit comments

Comments
 (0)