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

Support local custom reporters #69

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

jsumners-nr
Copy link
Contributor

This PR resolves #68. In short, borp currently does not support local custom reporters, only those that are installed in a node_modules directory somewhere. This PR rectifies that problem by first trying to load the supplied reporter relative to the process working directory. If that fails, fallback to the current implementation.

Documentation has also been improved to clarify how to use the --reporter switch.

Copy link
Owner

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcollina mcollina merged commit 43bef5f into mcollina:main Jul 25, 2024
7 checks passed
@jsumners-nr jsumners-nr deleted the custom-reporter branch July 25, 2024 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unclear how to use a custom reporter
2 participants