Skip to content
This repository has been archived by the owner on Dec 31, 2019. It is now read-only.

Unable to pass include information to istanbul #82

Closed
aukevanleeuwen opened this issue Nov 2, 2015 · 4 comments
Closed

Unable to pass include information to istanbul #82

aukevanleeuwen opened this issue Nov 2, 2015 · 4 comments

Comments

@aukevanleeuwen
Copy link

I was trying to make sure that a certain file was loaded first by isparta / istanbul by passing --include path/to/first.js --include **/*.js, however this didn't seem to 'make it to istanbul'. It seems to go wrong on this line:

includes: opts.includes || config.instrumentation.extensions()

Since ops.includes is read there where the actual option is called ops.include as far as I can tell. I didn't open a pull request since I was unsure whether you wanted to make the cli argument --includes (that would be nicely symmetrical with --excludes) or that you wanted to fix this on the line mentioned above. I would guess the former, however the commandline argument is a 'public api' of course. Then again: I don't think those includes are working anyway.

@aukevanleeuwen
Copy link
Author

Probably broke in 941dc51.

@douglasduteil
Copy link
Owner

Ooops Right !
I'm correcting this typo right now sry

@douglasduteil
Copy link
Owner

Fixed in [email protected]

@aukevanleeuwen
Copy link
Author

👍 thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants