nodejs / nodejs/corepack

Mark Corepack download warning as console.warn()

Open
#600 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
3.8k
Forks
279
Avg merge
1h 47m
Merged PRs (30d)
2

Description

Not sure why this is printing as error in logline. We probably should use console.warn() here: https://github.com/nodejs/corepack/blob/c7a9bde16dcbbb7e6ef03fef740656cde7ade360/sources/httpUtils.ts#L70

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at sources/httpUtils.ts line 70, linked in the issue, and inspect how the Corepack download warning is written to the log. Verify the resulting output uses warning-level console behavior rather than error-level behavior; the issue does not name a test file.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, tooling
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.