Skip to content

errors: make use of "cannot" consistent - #31420

Closed
tniessen wants to merge 1 commit into
nodejs:masterfrom
tniessen:errors-make-cannot-consistent
Closed

errors: make use of "cannot" consistent#31420
tniessen wants to merge 1 commit into
nodejs:masterfrom
tniessen:errors-make-cannot-consistent

Conversation

@tniessen

Copy link
Copy Markdown
Member

We frequently use the word "cannot" in error messages, this is the only occurrence of "can not". I am not a native English speaker, but according to various resources, the former should generally be preferred over the latter, and is probably what native speakers would expect.

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

@tniessentniessen added doc Issues and PRs related to the documentations. errors Issues and PRs related to JavaScript errors originated in Node.js core. labels Jan 20, 2020
@tniessen

Copy link
Copy Markdown
MemberAuthor

Not sure if error message changes are semver-minor or not...?

@cjihrig

Copy link
Copy Markdown
Contributor

Not sure if error message changes are semver-minor or not...?

As long as the error code doesn't change, the current policy is for error message changes to be semver patch.

@nodejs-github-bot

This comment has been minimized.

@tniessen

Copy link
Copy Markdown
MemberAuthor

Only failures are infrastructure failures.

@tniessentniessen added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jan 20, 2020
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@tniessen
tniessenforce-pushed the errors-make-cannot-consistent branch from b5d9f15 to a19b777CompareJanuary 22, 2020 19:51
@tniessen

Copy link
Copy Markdown
MemberAuthor

Had to rebase and adapt a test case that was added yesterday (#31178).

@nodejs-github-bot

This comment has been minimized.

@mhdawsonmhdawson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

tniessen added a commit that referenced this pull request Jan 23, 2020
PR-URL: #31420
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
@tniessen

Copy link
Copy Markdown
MemberAuthor

Landed in 9f22fda, thanks for reviewing!

@tniessen
tniessen deleted the errors-make-cannot-consistent branch January 23, 2020 03:44
codebytere pushed a commit that referenced this pull request Feb 17, 2020
PR-URL: #31420
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
@codebyterecodebytere mentioned this pull request Feb 17, 2020
codebytere pushed a commit that referenced this pull request Mar 15, 2020
PR-URL: #31420
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
codebytere pushed a commit that referenced this pull request Mar 17, 2020
PR-URL: #31420
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
@codebyterecodebytere mentioned this pull request Mar 17, 2020
@tniessentniessen removed the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jan 14, 2021
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docIssues and PRs related to the documentations.errorsIssues and PRs related to JavaScript errors originated in Node.js core.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants

@tniessen@cjihrig@nodejs-github-bot@sam-github@Trott@addaleax@targos@BridgeAR@mhdawson