Unverified Commit f6f298e3 authored by Ruben Bridgewater's avatar Ruben Bridgewater Committed by Myles Borins
Browse files

repl,readline: refactor common code

This renames some variables for clarity and moves the common substring
part into a shared file. One algorithm was more efficient than the
other but the functionality itself was identical.

PR-URL: https://github.com/nodejs/node/pull/30907


Reviewed-By: default avatarMichaël Zasso <targos@protonmail.com>
Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
parent 424c37ba
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment