Skip to content

util: remove unused fast path in internal debuglog - #41605

Merged
nodejs-github-bot merged 1 commit into
nodejs:masterfrom
Trott:debuglog
Jan 24, 2022
Merged

util: remove unused fast path in internal debuglog#41605
nodejs-github-bot merged 1 commit into
nodejs:masterfrom
Trott:debuglog

Conversation

@Trott

Copy link
Copy Markdown
Member

The internal debuglog() is never called with 0 parameters. Remove the
fast-path for that situation. If it ever occurs, it will fall through to
the default path.

The internal `debuglog()` is never called with 0 parameters. Remove the
fast-path for that situation. If it ever occurs, it will fall through to
the default path.
@nodejs-github-botnodejs-github-bot added needs-ci PRs that need a full CI run. util Issues and PRs related to the built-in util module. labels Jan 19, 2022
@TrottTrott added the request-ci Add this label to start a Jenkins CI on a PR. label Jan 21, 2022
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jan 21, 2022
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@Trott

Copy link
Copy Markdown
MemberAuthor

@nodejs/util

@TrottTrott added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jan 23, 2022
@targostargos added the commit-queue Add this label to land a pull request using GitHub Actions. label Jan 24, 2022
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jan 24, 2022
@nodejs-github-bot
nodejs-github-bot merged commit 49ba210 into nodejs:masterJan 24, 2022
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in 49ba210

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator
Commit Queue failed
- Loading data for nodejs/node/pull/41605
✔ Done loading data for nodejs/node/pull/41605
----------------------------------- PR info ------------------------------------
Title util: remove unused fast path in internal debuglog (#41605)
Author Rich Trott (@Trott)
Branch Trott:debuglog -> nodejs:master
Labels util, author ready, needs-ci
Commits 1
- util: remove unused fast path in internal debuglog
Committers 1
- Rich Trott PR-URL: https://github.com/nodejs/node/pull/41605
Reviewed-By: Anna Henningsen Reviewed-By: Michaël Zasso ------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/41605
Reviewed-By: Anna Henningsen Reviewed-By: Michaël Zasso --------------------------------------------------------------------------------
ℹ This PR was created on Wed, 19 Jan 2022 22:14:10 GMT
✔ Approvals: 2
✔ - Anna Henningsen (@addaleax): https://github.com/nodejs/node/pull/41605#pullrequestreview-860251448
✔ - Michaël Zasso (@targos) (TSC): https://github.com/nodejs/node/pull/41605#pullrequestreview-861035111
⚠ This PR was merged on Mon, 24 Jan 2022 14:39:22 GMT
✔ Last GitHub CI successful
ℹ Last Full PR CI on 2022-01-21T19:07:38Z: https://ci.nodejs.org/job/node-test-pull-request/42072/
- Querying data for job/node-test-pull-request/42072/
✔ Last Jenkins CI successful
--------------------------------------------------------------------------------
✔ Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/1740412607

@nodejs-github-botnodejs-github-bot added the commit-queue-failed An error occurred while landing this pull request using GitHub Actions. label Jan 24, 2022
@targos

Copy link
Copy Markdown
Member

How could the CQ both land and fail the same PR?

@Trott
Trott deleted the debuglog branch January 24, 2022 15:26
BethGriggs pushed a commit that referenced this pull request Jan 25, 2022
The internal `debuglog()` is never called with 0 parameters. Remove the
fast-path for that situation. If it ever occurs, it will fall through to
the default path.
PR-URL: #41605
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
@ruyadornoruyadorno mentioned this pull request Feb 8, 2022
danielleadams pushed a commit that referenced this pull request Mar 2, 2022
The internal `debuglog()` is never called with 0 parameters. Remove the
fast-path for that situation. If it ever occurs, it will fall through to
the default path.
PR-URL: #41605
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
danielleadams pushed a commit that referenced this pull request Mar 3, 2022
The internal `debuglog()` is never called with 0 parameters. Remove the
fast-path for that situation. If it ever occurs, it will fall through to
the default path.
PR-URL: #41605
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
danielleadams pushed a commit that referenced this pull request Mar 14, 2022
The internal `debuglog()` is never called with 0 parameters. Remove the
fast-path for that situation. If it ever occurs, it will fall through to
the default path.
PR-URL: #41605
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.commit-queue-failedAn error occurred while landing this pull request using GitHub Actions.needs-ciPRs that need a full CI run.utilIssues and PRs related to the built-in util module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@Trott@nodejs-github-bot@targos@addaleax