Skip to content

stream: only check options once in Duplex ctor - #20353

Closed
danbev wants to merge 1 commit into
nodejs:masterfrom
danbev:_stream_duplex_constructor_options_check
Closed

stream: only check options once in Duplex ctor#20353
danbev wants to merge 1 commit into
nodejs:masterfrom
danbev:_stream_duplex_constructor_options_check

Conversation

@danbev

Copy link
Copy Markdown
Contributor

This commit updates the Duplex constructor adding an if statement
checking if options is undefined, and removes the check from the
following three if statements.

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

This commit updates the Duplex constructor adding an if statement
checking if options is undefined, and removes the check from the
following three if statements.
@nodejs-github-botnodejs-github-bot added the stream Issues and PRs related to the stream subsystem. label Apr 27, 2018
@danbev

Copy link
Copy Markdown
ContributorAuthor

@BridgeARBridgeAR added fast-track PRs that do not need to wait for 48 hours to land. author ready PRs that have at least one approval, no pending requests for changes, and a CI started. labels Apr 27, 2018
BridgeAR pushed a commit to BridgeAR/node that referenced this pull request Apr 28, 2018
This commit updates the Duplex constructor adding an if statement
checking if options is undefined, and removes the check from the
following three if statements.
PR-URL: nodejs#20353
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@BridgeAR

Copy link
Copy Markdown
Member

Landed in 65021c5 🎉

MylesBorins pushed a commit that referenced this pull request May 4, 2018
This commit updates the Duplex constructor adding an if statement
checking if options is undefined, and removes the check from the
following three if statements.
PR-URL: #20353
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@MylesBorinsMylesBorins mentioned this pull request May 8, 2018
@danbev
danbev deleted the _stream_duplex_constructor_options_check branch August 20, 2019 07:50
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.fast-trackPRs that do not need to wait for 48 hours to land.streamIssues and PRs related to the stream subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@danbev@BridgeAR@jasnell@addaleax@lpinca@nodejs-github-bot