Description
If the license checker is run on a package with no direct dependencies it exits with a non-zero exit code (treated as an error). This is not correct behavior imo because if a package has no direct dependencies it should still be considered as passing the license check.
Steps To Reproduce
- Create a package with a single internal path dependency
- Run the license check command
- Observe the error:
No hosted dependencies found in ./path/to/package of type: direct-main.
Expected Behavior
I'd expect the case with no dependencies that match the type to be considered passing since no dependencies means the package isn't violating any licensing rules.
Additional Context
No response
Description
If the license checker is run on a package with no direct dependencies it exits with a non-zero exit code (treated as an error). This is not correct behavior imo because if a package has no direct dependencies it should still be considered as passing the license check.
Steps To Reproduce
No hosted dependencies found in ./path/to/package of type: direct-main.Expected Behavior
I'd expect the case with no dependencies that match the type to be considered passing since no dependencies means the package isn't violating any licensing rules.
Additional Context
No response