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 'file' option for reporters #79

Closed
jreichenberg opened this issue Oct 18, 2015 · 1 comment
Closed

Support 'file' option for reporters #79

jreichenberg opened this issue Oct 18, 2015 · 1 comment

Comments

@jreichenberg
Copy link

Many istanbul reporters (ex. cobertura) take 'file' as an option in addition to 'dir'. gulp-istanbul currently only passes 'dir' through in the reporter opts via:

reportOpts: { dir: opts.dir || defaultDir }

if this is changed to

reportOpts: { dir: opts.dir || defaultDir, file: opts.file }

multiple runs of gulp-istanbul can create individual report files in the same dir without overwriting.

@SBoudrias
Copy link
Owner

Send a PR ;)

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

No branches or pull requests

2 participants