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

Use stderr for console.{warn,error}() #1

Merged
merged 2 commits into from May 21, 2023

Conversation

CountBleck
Copy link
Member

This change just makes sense.

Although Node v20 is not LTS, this change will be useful when it does
become LTS.
Node.js has the same behavior (and it makes sense). Now, all functions
use the correct stream.

Fixes AssemblyScript/assemblyscript#2585.
Copy link
Member

@dcodeIO dcodeIO left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quickly checked what Node.js does, and it seems to also pipe these to stderr. Makes sense to me as proposed :)

@dcodeIO dcodeIO merged commit 4399cff into AssemblyScript:main May 21, 2023
1 check passed
@CountBleck CountBleck deleted the use-stderr branch May 22, 2023 01:26
@mattjohnsonpint
Copy link

mattjohnsonpint commented Mar 6, 2024

Looks like this has not been released?

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