lib: fix readFile flag option#35292
lib: fix readFile flag option#35292O4epegb wants to merge 3 commits intonodejs:masterfrom O4epegb:fix-readFile-flag
Conversation
|
The change itself looks good to me, thanks! Would you also be so kind and add a test case? :-) There are likely a couple that could be extended (check |
|
Just added some tests, made a new file, hope it's fine |
|
@nodejs/fs |
|
@nodejs/collaborators This could use reviews. |
This comment has been minimized.
This comment has been minimized.
puzpuzpuz
left a comment
There was a problem hiding this comment.
Nice catch! Left some nits for the test.
|
It's also better to use |
|
Do I need to do anything else here? :) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
No sure why Jenkins has git conflicts, I don't see them locally and github also not reporting anything |
|
CI is failing as 0e37fb3 is a merge commit. If you can, please rebase this PR. |
Co-authored-by: Rich Trott <rtrott@gmail.com>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
failed tests are unrelated and addressed by #35622 |
This comment has been minimized.
This comment has been minimized.
PR-URL: #35292 Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Masashi Hirano <shisama07@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Zeyu Yang <himself65@outlook.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
|
Landed in ce4ac15 |
PR-URL: #35292 Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Masashi Hirano <shisama07@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Zeyu Yang <himself65@outlook.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
PR-URL: nodejs#35292 Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Masashi Hirano <shisama07@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Zeyu Yang <himself65@outlook.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
Fixes #35290
I have not added new tests since I'm not quite understand yet how to do that, but maybe it is worth to do, I'll try later.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes