Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Well, this doesn't work, but I am a bit stumped as to why.
It no longer distinguishes between
default
andwrapped
(it just uses the wrapping function to wrap the current top ofrequire.extensions['.js']
). This also means it never callsaddFile
, but addFile isn't really necessary. The defaultrequire.extensions['.js']
should be forwarding you the content anyway.@novemberborn - can you take a look and give me a guess as to why those tests are failing (like what information
nyc
isn't collecting correctly). I've spent quite a bit of time groking thewrapRequire
section of thenyc
codebase, but haven't really dived deep anywhere else.I will keep trying, just hoping for another set of eyeballs.