Skip to content

Conversation

@wesleytodd
Copy link
Member

Just a few small log cleanup bits.

@wesleytodd wesleytodd requested a review from a team January 20, 2026 17:58
});
if (out.stderr) {
log.error(out.stderr);
log.warning(out.stderr);

Choose a reason for hiding this comment

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

Why this change? I assume stderr should go be error normally.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, that was my initial reason for doing it like this, but in reality it turns out that output is largely unnecessary unless npm exits non-zero, most of what it outputs there is warning text. This will still be output to stderr IIRC, but it will be hidden by default unless you pass --verbose.

Not strongly opinionated on this, but in the place we are using this the output feels out of place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants