You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
➜ lsif-node git:(main) ✗ ./sbomgen -o . -f JSON
INFO[2023-08-27T14:53:17+08:00] Starting to generate SPDX ...
INFO[2023-08-27T14:53:18+08:00] Using npm, current Language Version 6.14.11
INFO[2023-08-27T14:53:18+08:00] Global Setting File path
INFO[2023-08-27T14:53:18+08:00] Parsing . for packages
FATA[2023-08-27T14:53:29+08:00] error creating SBOM, err: writing serialized document: json: error calling MarshalJSON for type *common.Supplier: failed to marshal invalid Supplier: {Supplier: SupplierType:Organization}
The process will break if either the SupplierType or Supplier field is empty.
Maybe we need some default values (both name and type) for avoiding this, not only assign a name. Like:
The process will break if either the SupplierType or Supplier field is empty.
Maybe we need some default values (both name and type) for avoiding this, not only assign a name. Like:
parsers/pnpm/handler.go
Line 115 in dda5564
The text was updated successfully, but these errors were encountered: