Skip to content

lib: fix fs.read when passing null value - #32479

Closed
himself65 wants to merge 1 commit into
nodejs:masterfrom
himself65:20200325-fs
Closed

lib: fix fs.read when passing null value#32479
himself65 wants to merge 1 commit into
nodejs:masterfrom
himself65:20200325-fs

Conversation

@himself65

@himself65himself65 commented Mar 25, 2020

Copy link
Copy Markdown
Member

it shouldn't use the default value when user passing null on options

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

@nodejs-github-botnodejs-github-bot added the fs Issues and PRs related to the fs subsystem / file system. label Mar 25, 2020
@himself65
himself65force-pushed the 20200325-fs branch 2 times, most recently from 7ac2c95 to 976b3f2CompareMarch 25, 2020 08:45
@himself65himself65 changed the title lib: fix fs.read default valuelib: fix fs.read when passing null valueMar 25, 2020
@jasnell

Copy link
Copy Markdown
Member

Does this need a test?

@himself65

himself65 commented Mar 25, 2020

Copy link
Copy Markdown
MemberAuthor

Does this need a test?

Better than nothing. I will.

@himself65
himself65force-pushed the 20200325-fs branch 5 times, most recently from 1e1f29a to 66c46bfCompareMarch 25, 2020 17:52
@addaleaxaddaleax added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Mar 29, 2020
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

addaleax pushed a commit that referenced this pull request Mar 30, 2020
PR-URL: #32479
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
@addaleax

Copy link
Copy Markdown
Member

Landed in defbc2e and updated the commit message while landing

addaleax pushed a commit that referenced this pull request Mar 30, 2020
PR-URL: #32479
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
@targostargos mentioned this pull request Apr 13, 2020
@targostargos added backport-blocked-v12.x and removed author ready PRs that have at least one approval, no pending requests for changes, and a CI started. backport-blocked-v12.x labels Apr 22, 2020
targos pushed a commit to targos/node that referenced this pull request Apr 25, 2020
PR-URL: nodejs#32479
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
targos pushed a commit that referenced this pull request Apr 28, 2020
PR-URL: #32479
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
@targostargos mentioned this pull request May 2, 2020
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fsIssues and PRs related to the fs subsystem / file system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@himself65@jasnell@nodejs-github-bot@addaleax@evanlucas@lholmquist@cjihrig@targos