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

errors: refactor to use a method that formats a list string #45793

Conversation

daeyeon
Copy link
Member

@daeyeon daeyeon commented Dec 9, 2022

This introduces a function that creates a list string for places requiring it.

Also includes a fix for the error message of ERR_UNSUPPORTED_ESM_URL_SCHEME.

Signed-off-by: Daeyeon Jeong [email protected]

@nodejs-github-bot nodejs-github-bot added errors Issues and PRs related to JavaScript errors originated in Node.js core. needs-ci PRs that need a full CI run. labels Dec 9, 2022
@daeyeon daeyeon added the commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. label Dec 9, 2022
lib/internal/errors.js Show resolved Hide resolved
test/parallel/test-error-format-list.js Outdated Show resolved Hide resolved
@daeyeon
Copy link
Member Author

daeyeon commented Dec 9, 2022

Updated the PR to reflect the suggestions. Thanks.

daeyeon and others added 2 commits December 9, 2022 19:15
@daeyeon daeyeon force-pushed the 221209.Fri.69f3.main.simplify-format-list branch from 8d580aa to d513efb Compare December 9, 2022 10:18
lib/internal/errors.js Outdated Show resolved Hide resolved
lib/internal/errors.js Outdated Show resolved Hide resolved
@daeyeon
Copy link
Member Author

daeyeon commented Dec 12, 2022

Changed according to code review. PTAL. @aduh95

@aduh95 aduh95 added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. request-ci Add this label to start a Jenkins CI on a PR. labels Dec 19, 2022
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Dec 19, 2022
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@daeyeon daeyeon added the commit-queue Add this label to land a pull request using GitHub Actions. label Dec 23, 2022
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Dec 23, 2022
@nodejs-github-bot nodejs-github-bot merged commit 28fe494 into nodejs:main Dec 23, 2022
@nodejs-github-bot
Copy link
Collaborator

Landed in 28fe494

@daeyeon daeyeon deleted the 221209.Fri.69f3.main.simplify-format-list branch December 23, 2022 01:26
targos pushed a commit that referenced this pull request Jan 1, 2023
Signed-off-by: Daeyeon Jeong <[email protected]>
PR-URL: #45793
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
@RafaelGSS RafaelGSS mentioned this pull request Jan 2, 2023
RafaelGSS pushed a commit that referenced this pull request Jan 4, 2023
Signed-off-by: Daeyeon Jeong <[email protected]>
PR-URL: #45793
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
RafaelGSS pushed a commit that referenced this pull request Jan 5, 2023
Signed-off-by: Daeyeon Jeong <[email protected]>
PR-URL: #45793
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
juanarbol pushed a commit that referenced this pull request Jan 26, 2023
Signed-off-by: Daeyeon Jeong <[email protected]>
PR-URL: #45793
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
@juanarbol juanarbol mentioned this pull request Jan 28, 2023
juanarbol pushed a commit that referenced this pull request Jan 31, 2023
Signed-off-by: Daeyeon Jeong <[email protected]>
PR-URL: #45793
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
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. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. errors Issues and PRs related to JavaScript errors originated in Node.js core. needs-ci PRs that need a full CI run.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants