-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
util: Use primordials.ArrayPrototypeIndexOf instead of mutable method
#48586
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
Conversation
aduh95
left a comment
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.
Thanks! Can you amend the commit message to comply with our guidelines? Something like util: use `primordials.ArrayPrototypeIndexOf` instead of mutable method
ArrayPrototypeIndexOf in identicalSequenceRangeArrayPrototypeIndexOf in identicalSequenceRange
ArrayPrototypeIndexOf in identicalSequenceRangeprimordials.ArrayPrototypeIndexOf in identicalSequenceRange
|
Sorry about that. First time making a pull request or anything for something big :/ |
primordials.ArrayPrototypeIndexOf in identicalSequenceRangeprimordials.ArrayPrototypeIndexOf instead of mutable method
|
I can see you changed the PR title, but unfortunately that's not what's needed: you need to amend the commit message, and then force push to your PR branch. Please make sure to also follow this rule: node/doc/contributing/pull-requests.md Lines 166 to 167 in 260092e
Let me know if you need help with that, I can do it for you if that's more convenient. |
|
Unfortunately im new to PRs and i dont know how to force push something. may i ask if you could do it for me? |
I believe you forgot to use the primordial `ArrayPrototypeIndexOf` in `identicalSequenceRange` i dont know if this was intentional but im fixing it anyway :p
|
Landed in 4a26e2d, thanks for the contribution 🎉 |
PR-URL: nodejs#48586 Reviewed-By: Antoine du Hamel <[email protected]>
PR-URL: nodejs#48586 Reviewed-By: Antoine du Hamel <[email protected]>
PR-URL: nodejs#48586 Reviewed-By: Antoine du Hamel <[email protected]>
PR-URL: #48586 Reviewed-By: Antoine du Hamel <[email protected]>
PR-URL: #48586 Reviewed-By: Antoine du Hamel <[email protected]>
PR-URL: #48586 Reviewed-By: Antoine du Hamel <[email protected]>
PR-URL: #48586 Reviewed-By: Antoine du Hamel <[email protected]>
Found a part of
identicalSequenceRangethat uses a mutable methodChanged it to use the primordial instead