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

util: enforce shouldColorize in styleText array arg #56722

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

marco-ippolito
Copy link
Member

Fixes: #56717

@nodejs-github-bot nodejs-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 23, 2025
Copy link

codecov bot commented Jan 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.21%. Comparing base (50d405a) to head (0477278).
Report is 10 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #56722      +/-   ##
==========================================
- Coverage   89.22%   89.21%   -0.01%     
==========================================
  Files         663      663              
  Lines      191974   191963      -11     
  Branches    36926    36923       -3     
==========================================
- Hits       171286   171269      -17     
- Misses      13561    13565       +4     
- Partials     7127     7129       +2     
Files with missing lines Coverage Δ
lib/util.js 97.71% <100.00%> (-0.06%) ⬇️

... and 38 files with indirect coverage changes

@marco-ippolito marco-ippolito 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 Jan 23, 2025
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jan 23, 2025
@nodejs-github-bot
Copy link
Collaborator

lib/util.js Outdated Show resolved Hide resolved
lib/util.js Outdated Show resolved Hide resolved
@marco-ippolito marco-ippolito force-pushed the fix-color-style-trxt branch 3 times, most recently from 4599cad to d4b5727 Compare January 25, 2025 11:23
@marco-ippolito marco-ippolito added the request-ci Add this label to start a Jenkins CI on a PR. label Jan 26, 2025
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jan 26, 2025
@nodejs-github-bot

This comment was marked as outdated.

@marco-ippolito marco-ippolito added the request-ci Add this label to start a Jenkins CI on a PR. label Jan 28, 2025
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jan 28, 2025
@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot
Copy link
Collaborator

@targos targos added the commit-queue Add this label to land a pull request using GitHub Actions. label Jan 29, 2025
@nodejs-github-bot nodejs-github-bot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels Jan 29, 2025
@nodejs-github-bot
Copy link
Collaborator

Commit Queue failed
- Loading data for nodejs/node/pull/56722
✔  Done loading data for nodejs/node/pull/56722
----------------------------------- PR info ------------------------------------
Title      util: enforce shouldColorize in styleText array arg (#56722)
   ⚠  Could not retrieve the email or name of the PR author's from user's GitHub profile!
Branch     marco-ippolito:fix-color-style-trxt -> nodejs:main
Labels     util, author ready, needs-ci
Commits    1
 - util: enforce shouldColorize in styleText array arg
Committers 1
 - Marco Ippolito <[email protected]>
PR-URL: https://github.com/nodejs/node/pull/56722
Fixes: https://github.com/nodejs/node/issues/56717
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Deokjin Kim <[email protected]>
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/56722
Fixes: https://github.com/nodejs/node/issues/56717
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Deokjin Kim <[email protected]>
--------------------------------------------------------------------------------
   ⚠  Commits were pushed since the last approving review:
   ⚠  - util: enforce shouldColorize in styleText array arg
   ℹ  This PR was created on Thu, 23 Jan 2025 09:47:01 GMT
   ✔  Approvals: 2
   ✔  - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/56722#pullrequestreview-2570227033
   ✔  - Deokjin Kim (@deokjinkim): https://github.com/nodejs/node/pull/56722#pullrequestreview-2574199082
   ✔  Last GitHub CI successful
   ℹ  Last Full PR CI on 2025-01-28T15:57:43Z: https://ci.nodejs.org/job/node-test-pull-request/64805/
- Querying data for job/node-test-pull-request/64805/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/13028022647

@targos targos added commit-queue Add this label to land a pull request using GitHub Actions. and removed commit-queue-failed An error occurred while landing this pull request using GitHub Actions. labels Jan 29, 2025
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jan 29, 2025
@nodejs-github-bot nodejs-github-bot merged commit f4fba08 into nodejs:main Jan 29, 2025
69 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in f4fba08

targos pushed a commit that referenced this pull request Feb 2, 2025
PR-URL: #56722
Fixes: #56717
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Deokjin Kim <[email protected]>
Reviewed-By: Michaël Zasso <[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. needs-ci PRs that need a full CI run. util Issues and PRs related to the built-in util module.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

util.styleText is not respecting NO_COLOR when first argument is an array.
6 participants