Skip to content

doc: fix errors in sample code comments - #19963

Closed
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:fix-buffer-errors
Closed

Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:fix-buffer-errors

Conversation

@Trott

@Trott Trott commented Apr 12, 2018

Copy link
Copy Markdown
Member

The errors thrown have changed in a few places. Update the comments to
reflect the current errors.

The noAssert option has been removed but it is still shown in sample
code in a few places. Remove that sample code.

Checklist

The errors thrown have changed in a few places. Update the comments to
reflect the current errors.

The `noAssert` option has been removed but it is still shown in sample
code in a few places. Remove that sample code.
@nodejs-github-bot nodejs-github-bot added buffer Issues and PRs related to the buffer subsystem. doc Issues and PRs related to Node.js documentation. labels Apr 12, 2018
@Trott

Trott commented Apr 12, 2018

Copy link
Copy Markdown
Member Author

@nodejs/documentation @nodejs/buffer

@Trott

Trott commented Apr 12, 2018

Copy link
Copy Markdown
Member Author

@Trott

Trott commented Apr 12, 2018

Copy link
Copy Markdown
Member Author

Lite CI again: https://ci.nodejs.org/job/node-test-pull-request-lite/499/

(Anyone know why lite CI aborts sometimes as in the previous run in the comment above? @nodejs/build)

@vsemozhetbyt vsemozhetbyt added fast-track PRs proposed for a shorter-than-standard waiting period before landing. author ready PRs with CI started, the required approvals, and no outstanding review comments. labels Apr 12, 2018
BridgeAR pushed a commit to BridgeAR/node that referenced this pull request Apr 12, 2018
The errors thrown have changed in a few places. Update the comments to
reflect the current errors.

The `noAssert` option has been removed but it is still shown in sample
code in a few places. Remove that sample code.

PR-URL: nodejs#19963
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Daniel Bevenius <[email protected]>
Reviewed-By: Vse Mozhet Byt <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
@BridgeAR

Copy link
Copy Markdown
Member

Landed in 3bd6d8d 🎉

@BridgeAR BridgeAR closed this Apr 12, 2018
jasnell pushed a commit that referenced this pull request Apr 16, 2018
The errors thrown have changed in a few places. Update the comments to
reflect the current errors.

The `noAssert` option has been removed but it is still shown in sample
code in a few places. Remove that sample code.

PR-URL: #19963
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Daniel Bevenius <[email protected]>
Reviewed-By: Vse Mozhet Byt <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
@BridgeAR

BridgeAR commented May 1, 2018

Copy link
Copy Markdown
Member

This needs a manual backport because the examples diverge from the state in v.9.x. The error messages were changed in a semver-major commit.

@Trott

Trott commented May 31, 2018

Copy link
Copy Markdown
Member Author

With 9.x in maintenance mode and about to go EOL in the next month, I'm inclined to not backport this relatively low-importance PR. If anyone feels differently, please comment.

@Trott
Trott deleted the fix-buffer-errors branch January 13, 2022 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. buffer Issues and PRs related to the buffer subsystem. doc Issues and PRs related to Node.js documentation. fast-track PRs proposed for a shorter-than-standard waiting period before landing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants