| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks, this slipped through! LGTM % comment
Sorry, something went wrong.
Sorry, something went wrong.
|
@lundibundi should this be backported to v13.x? it'll need a manual if yes. |
Sorry, something went wrong.
|
I think no, since this fixed the bug caused by #31030 (which is semver-major). |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Now running python tools/test.py test/parallel/test-fs-append-file in our master branch, there was a file called foobar generated, which was caused by this line:
node/test/parallel/test-fs-append-file.js
Line 143 in fb437c4
This was because firstly we opened foobar file and then validating the input data in our fs.promise module.
So I think the more reasonable method is validating the input data first and then opening the file, to be consistent with fs module.
Refs: #31030
/cc @BridgeAR
Checklist