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

refactor validatePlugins to throw coded errors #4237

Merged
merged 1 commit into from
Apr 28, 2020

Commits on Apr 27, 2020

  1. refactor validatePlugins to throw coded errors

    - add `createInvalidPluginError` for reporters, UIs, and future plugins
    - ensures the original error is output if the module exists, but it throws (see `test/node-unit/cli/fixtures/bad-module.fixture.js`)
    - remove unneeded `process.cwd()` from call to `path.resolve()`
    
    Ref: #4198
    boneskull committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    74e9c4d View commit details
    Browse the repository at this point in the history