[Fix] properly determine length of rootValids for engine in isSame comparison#23
[Fix] properly determine length of rootValids for engine in isSame comparison#23ljharb merged 1 commit intoljharb:mainfrom
Conversation
Co-authored-by: Matt Travi <programmer@travi.org> Co-authored-by: Jordan Harband <ljharb@gmail.com>
|
woof, that’s an obvious bug. I’ll take a look this weekend and see if i can come up with tests. |
Codecov Report
@@ Coverage Diff @@
## main #23 +/- ##
=======================================
Coverage 82.35% 82.35%
=======================================
Files 5 5
Lines 85 85
Branches 26 26
=======================================
Hits 70 70
Misses 15 15 Continue to review full report at Codecov.
|
thanks for taking a look. having looked through the test suite, it does seem like you would be better suited to address the tests on this one, but let me know if it would be worth me digging deeper. |
|
I'll definitely take a crack at it before asking you to do more work :-) thanks! |
ljharb
left a comment
There was a problem hiding this comment.
Thanks! I added tests, and will land and release this shortly.
|
just getting back from vacation, so this was a great thing to come back to. thanks so much for taking care of this! |
in attempting to understand why our newly added
ls-engineschecks were failing for semantic-release/npm#402 and semantic-release/github#412, i tracked down that thegraphValidsandrootValidswere the same lists, but not being reported as such.i havent tracked down how to cover this gap in the tests yet, but wanted to get this much out here before calling it a (late) night. i'm happy to help get a test in place for this with a little guidance.