FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

doc: stream write(chunk, encoding, cb) encoding can be null by dev-script · Pull Request #35372 · nodejs/node · GitHub

/ node Public

doc: stream write(chunk, encoding, cb) encoding can be null - #35372

Merged
aduh95 merged 1 commit into
nodejs:masterfrom
dev-script:doc/stream-write-encoding
Nov 9, 2020
Merged

doc: stream write(chunk, encoding, cb) encoding can be null#35372
aduh95 merged 1 commit into
nodejs:masterfrom
dev-script:doc/stream-write-encoding

Conversation

Copy link
Copy Markdown
Contributor

In stream write encoding can be null.

Fixes: #33715

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

nodejs-github-bot added doc Issues and PRs related to the documentations. stream Issues and PRs related to the stream subsystem. labels Sep 27, 2020
dev-script mentioned this pull request Sep 27, 2020
3 tasks

mscdex commented Sep 27, 2020

Copy link
Copy Markdown
Contributor

The targeted subsystem in the commit message should be doc instead of stream.

dev-script changed the title stream: write(chunk, encoding, cb) encoding can be null doc: write(chunk, encoding, cb) encoding can be null Sep 27, 2020
dev-script changed the title doc: write(chunk, encoding, cb) encoding can be null doc: stream write(chunk, encoding, cb) encoding can be null Sep 27, 2020

Copy link
Copy Markdown
Contributor Author

The targeted subsystem in the commit message should be doc instead of stream.

I have done changes. please review

lpinca commented Sep 30, 2020

Copy link
Copy Markdown
Member

Any falsy value for the encoding argument works in the same way.

if (!encoding)
encoding = state.defaultEncoding;

Not sure if it is ok to add only null.

aduh95 added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Nov 8, 2020
aduh95 force-pushed the doc/stream-write-encoding branch from d4a718d to 934faa0 Compare November 9, 2020 18:13
In stream write encoding can be null.

Fixes: nodejs#33715

PR-URL: nodejs#35372
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
aduh95 force-pushed the doc/stream-write-encoding branch from 934faa0 to caa5a05 Compare November 9, 2020 18:15

aduh95 commented Nov 9, 2020

Copy link
Copy Markdown
Contributor

Landed in caa5a05

aduh95 merged commit caa5a05 into nodejs:master Nov 9, 2020
danielleadams pushed a commit that referenced this pull request Nov 9, 2020
In stream write encoding can be null.

Fixes: #33715

PR-URL: #35372
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
danielleadams mentioned this pull request Nov 9, 2020
BethGriggs pushed a commit that referenced this pull request Dec 9, 2020
In stream write encoding can be null.

Fixes: #33715

PR-URL: #35372
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
BethGriggs pushed a commit that referenced this pull request Dec 10, 2020
In stream write encoding can be null.

Fixes: #33715

PR-URL: #35372
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
BethGriggs mentioned this pull request Dec 10, 2020
BethGriggs pushed a commit that referenced this pull request Dec 15, 2020
In stream write encoding can be null.

Fixes: #33715

PR-URL: #35372
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. doc Issues and PRs related to the documentations. stream Issues and PRs related to the stream subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A possible TODO list for new (or current) contributors

5 participants


Back | FazBrowse Home | New Git URL