Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output format flag is not functioning for .Net projects #309

Open
SOMUCHDOG opened this issue Oct 11, 2024 · 1 comment
Open

Output format flag is not functioning for .Net projects #309

SOMUCHDOG opened this issue Oct 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@SOMUCHDOG
Copy link

Summary

Describe the bug - a clear and concise overview of what the bug is.

optional flag -f does not output a different file type.

Background

Provide context to the issue - provide steps to reproduce the behavior, such as:

  1. Download sbom-spdx-generator version v0.0.10
  2. Clone repository (.Net 8 project)
  3. Place exe in directory with .csproj file
  4. Run ./sbom-spdx-generator -f json -o /out/spdx OR ./sbom-spdx-generator -f 'json' -o /out/spdx
  5. Observe the following error: Output still produces .spdx file and no json file.

Expected behavior

Expecting a json format file output in the directory /out/spdx/

Screenshots

image

Repository

Which repository causes this error?

  • This is a private repository

Additional Context

No additional Context

Acceptance Criteria

The "done" criteria when this feature or problem is resolved. Such as:

  1. Unit Tests added and running in CI
  2. Functional Tests updated to cover feature
  3. Json file is able to output
  4. Demonstrate the set of capabilities to the product team

References

  • Provide any code or specification references that would be helpful for the developer implementing this feature.
@SOMUCHDOG SOMUCHDOG added the bug Something isn't working label Oct 11, 2024
@bucheron88
Copy link

same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants