-
-
Notifications
You must be signed in to change notification settings - Fork 359
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
Can't override package.json reporters via CLI #379
Comments
To keep the issue template clean, I forgot to add one thing: thanks for such amazing tool! |
@gustavohenke I agree that |
I just ran into the same issue as well. Another thing I noticed is that if you have this in your configuration: "reporter": [] Then |
Yeah this really bit me when using coveralls:
having reporters specified in the package.json overrides the coverage script and you get an ugly error everytime on travis: looks like nyc report --reporter=text-lcov is passing in the summary and not the lcov. removing reporters from package.json -> nyc -> reporters solved the problem. |
@trainerbill see #388 would love the extra eyes. |
@gustavohenke this is now deployed \o/ |
Yay! |
Expected Behavior
Override
reporter
configuration in package.json via CLI--reporter
argument.Observed Behavior
The CLI argument
--reporter
doesn't work when there's something under nyc'sreporter
key in package.json.Code (or Repository) that Reproduces Issue
gustavohenke/mockbase@21487a9
I just started the project and haven't decided how to document it yet, so...
Forensic Information
Operating System:
Windows 10
Environment Information:
The text was updated successfully, but these errors were encountered: