| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
Sorry, something went wrong.
There was a problem hiding this comment.
I'd change the return false in readline() to return '', that way future call sites won't run into the same issue.
If other collaborators think this is fine though, I'm fine with it too.
Sorry, something went wrong.
Sorry, something went wrong.
|
This was the failure on AIX https://ci.nodejs.org/job/node-test-commit-aix/1300/ length differs. expect=2 actual=0 patterns: pattern = ^hello\ world\ 1$ pattern = ^hello\ world\ 2$ outlines: not ok 1219 pseudo-tty/test-tty-wrap I reran the job and it succeeded: |
Sorry, something went wrong.
PR-URL: #8863 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
PR-URL: #8863 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
|
added lts watch as this lands on v4.x let me know if it should not land |
Sorry, something went wrong.
|
there's likely no harm in landing it. |
Sorry, something went wrong.
PR-URL: #8863 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
PR-URL: #8863 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
| Back | FazBrowse Home | New Git URL |
Checklist
Affected core subsystem(s)
v8 profile processor
Description of change
readline() can return a boolean, in which case, line 90 will throw an exception. This change addresses the issue by defaulting to a string in readline() instead of returning false.