opensbom-generator / spdx-sbom-generator

Support CI generation of SBOMs via golang tooling.
407 stars 110 forks source link

nuget module does not handle spaces in paths #236

Open RodneyRichardson opened 2 years ago

RodneyRichardson commented 2 years ago

Summary

Generation fails when running against a .NET solution with a space in the path,

Background

  1. Create a .NET project/solution with a space in the path (e.g. C:\My Projects\project.sln)
  2. Run ./sbom-spdx-generator -p "C:\My Projects\"
  3. nuget module will return a "Error Code 1"

Expected behavior

SBOM should be generated.