events: fix undefined passes to arrayClone#56264
Closed
origranot wants to merge 3 commits intonodejs:mainfrom
Closed
events: fix undefined passes to arrayClone#56264origranot wants to merge 3 commits intonodejs:mainfrom
origranot wants to merge 3 commits intonodejs:mainfrom
Conversation
Member
|
Please add a test case |
Contributor
Author
Done 💯 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #56264 +/- ##
==========================================
- Coverage 88.55% 88.54% -0.01%
==========================================
Files 657 657
Lines 190243 190245 +2
Branches 36536 36542 +6
==========================================
- Hits 168461 168457 -4
- Misses 14963 14968 +5
- Partials 6819 6820 +1
|
jazelly
approved these changes
Dec 16, 2024
Member
himself65
approved these changes
Dec 16, 2024
jazelly
requested changes
Dec 17, 2024
Member
jazelly
left a comment
There was a problem hiding this comment.
Had a private chat with @jakecastelli. I think it's better to revert this and add a test.
@origranot Would you like to raise a new PR to revert the commit and introduce a new commit to add the test?
Contributor
Author
Yea, I am on it. Thanks! |
Contributor
Author
Member
|
Closed in favor of #56282. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes #56263
Another suggestion is to force developers to pass a string, else throw an
ERR_INVALID_ARG_TYPEbut this should consider a breaking change.Looking forward for your feedback!