Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: fix errors in sample code comments #19963

Closed
wants to merge 1 commit into from

Conversation

Trott
Copy link
Member

@Trott Trott commented 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.

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 the documentations. labels Apr 12, 2018
@Trott
Copy link
Member Author

Trott commented Apr 12, 2018

@nodejs/documentation @nodejs/buffer

@Trott
Copy link
Member Author

Trott commented Apr 12, 2018

@Trott
Copy link
Member Author

Trott commented Apr 12, 2018

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 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 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 <trivikr.dev@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
@BridgeAR
Copy link
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 <trivikr.dev@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
@BridgeAR
Copy link
Member

BridgeAR commented May 1, 2018

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
Copy link
Member Author

Trott commented May 31, 2018

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 that have at least one approval, no pending requests for changes, and a CI started. buffer Issues and PRs related to the buffer subsystem. doc Issues and PRs related to the documentations. fast-track PRs that do not need to wait for 48 hours to land.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants