-
Notifications
You must be signed in to change notification settings - Fork 48
Fight node modules
#178
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
Fight node modules
#178
Conversation
| test('errors with message when an improper semver is sent', async () => { | ||
| expect(await checkCLI(badSemver, context)).toBe(`Invalid semver rule ${badSemver.semver}`) | ||
| }) | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I identified a missing test, and added it as lagniappe in this PR. Sorry for the distraction, but I'm always trying to up the % coverage.
Codecov Report
@@ Coverage Diff @@
## master #178 +/- ##
==========================================
- Coverage 82.87% 82.84% -0.03%
==========================================
Files 32 33 +1
Lines 613 618 +5
Branches 103 104 +1
==========================================
+ Hits 508 512 +4
- Misses 69 70 +1
Partials 36 36
Continue to review full report at Codecov.
|
|
closing in favor of #179 this is the exact same code but for some reason there's a crash in windows, not sure why or what. |
Node will inject its own bin to the front of
$PATH, as identified in #175This simply moves that injection to the back to prefer global over anything
node_modules/.Tests included. I attempted to go a wrong way first, and that left strange artifacts I had to clean up. Squash to kill the noise
Closes: #175