We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 453d9c4 commit cffa21fCopy full SHA for cffa21f
inspector/textual_formatter.go
@@ -1,6 +1,7 @@
1
package inspector
2
3
import (
4
+ "encoding/base64"
5
"encoding/json"
6
"fmt"
7
"strings"
@@ -95,7 +96,7 @@ func BuildSpdx(task *model.ScanTask) []byte {
95
96
}
97
externalRefs = append(externalRefs, map[string]any{
98
"referenceCategory": "PACKAGE-MANAGER",
- "referenceLocator": string(must.A(json.Marshal(node))),
99
+ "referenceLocator": base64.StdEncoding.EncodeToString(must.A(json.Marshal(node))),
100
"referenceType": "murphyjson",
101
})
102
if len(externalRefs) != 0 {
0 commit comments