util: Use primordials.ArrayPrototypeIndexOf instead of mutable method#48586
util: Use primordials.ArrayPrototypeIndexOf instead of mutable method#48586aduh95 merged 1 commit intonodejs:mainfrom DaisyDogs07:main
primordials.ArrayPrototypeIndexOf instead of mutable method#48586Conversation
aduh95
left a comment
There was a problem hiding this comment.
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 <duhamelantoine1995@gmail.com>
PR-URL: nodejs#48586 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: nodejs#48586 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: #48586 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: #48586 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: #48586 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: #48586 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Found a part of
identicalSequenceRangethat uses a mutable methodChanged it to use the primordial instead