Skip to content

[BUG] Output-File does not working correctly #145

Closed

Description

Describe the bug

By using >= 1.0.0-rc.7 the using of --output-file does not working anymore

To Reproduce

If you use version 1.0.0 or 1.0.0-rc.7 ir 1.0.0-rc.8 then with "yarn cyclonedx-yarn --prod --output-file sbom_yarn.json" it got an error message "Internal Error: ENOENT: no such file or directory, open 'C:\Code\ProjectX\C:\Code\ProjectX\sbom_yarn.json'"

Expected behavior

File has been placed at the desired location

Screenshots or output-paste

If applicable, add screenshots or past the output to help explain your problem.

Environment

  • @cyclonedx/yarn-plugin-cyclonedx version: >= 1.0.0-rc.7
  • yarn version: 4.1.1
  • Node version: v20.14.0
  • OS: windows 11

Additional context

Everything works perfectly with 1.0.0-rc.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions