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

Mark Corepack download warning as console.warn() #600

Open
swarnava opened this issue Jan 16, 2025 · 1 comment
Open

Mark Corepack download warning as console.warn() #600

swarnava opened this issue Jan 16, 2025 · 1 comment

Comments

@swarnava
Copy link

swarnava commented Jan 16, 2025

Not sure why this is printing as error in logline. We probably should use console.warn() here:

console.error(`! Corepack is about to download ${input}`);

Image
@styfle
Copy link
Member

styfle commented Jan 16, 2025

It’s probably fine to change it but it won’t make a difference since the console.warn() function is an alias for console.error()

https://nodejs.org/api/console.html#consolewarndata-args

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants