-
-
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
Nyc processing files not covered by include when all
is enabled.
#913
Comments
all
is enabled.
I have just confirmed this issue. From what I can tell this is an issue only when |
Looking at the source (of nyc) it appears that the code path causing error is only active when |
I can take a look at this if thats OK? Tested without all flag and everything works fine, seems to only occur on when the all flag is set. The docs state What is the expected outcome? That the files are included in the report but aren't compiled? |
@peterjgrainger - My understanding is the |
@AGrzes ah didn't realize you fixed this already, woops |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I am having issues with this right now. I get inconsistent output, some files get completely dropped with the |
@robtarr this fix will be released soon! Sorry about that |
Any chance there's a branch I could try out? Or a rough timeline? |
You can try |
After updating to
followed immediately by
my config:
|
@robtarr please open a new issue including a link to a repository demonstrating this issue. |
Link to bug demonstration repository.
https://github.com/AGrzes/nyc-include-issue
Expected Behavior
When
include
is specified in nyc configuration it instrument only files matching include.Observed Behavior
Nyc processes all files then discards those that not match
include
. In conjunction withts-node
it leads to compilation of unnecessary files and unexpected failures.For example in demonstration repository
Forensic Information
Operating System: Linux agrzes-desktop 4.15.0-33-generic #36~16.04.1-Ubuntu SMP Wed Aug 15 17:21:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Environment Information: https://gist.github.com/AGrzes/a3e87bbb58f592b499f005bdd2ad2a21
The text was updated successfully, but these errors were encountered: