Skip to content

[BUG] Some problems in license text extraction ignored. #1255

@AugustusKling

Description

@AugustusKling

Describe the bug

Some cases result in skipping over license files silently for the experimental license text extraction from CycloneDX/cyclonedx-node-yarn#193

Make sure to abort with a non-zero status code on errors, that is address things like mentioned in https://github.com/AugustusKling/cyclonedx-node-yarn/pull/1/files#r1840859282

To Reproduce

Have a licence file with unknown MIME type in any dependency.

Expected behavior

Program should abort with a non-zero exit code.

Metadata

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