Skip to content

Conversation

@ezra-ramatong
Copy link

Description

Clarified misleading description of console.error behavior in the stdout/stderr documentation. The previous text incorrectly stated that console.error "will not appear in the console" when it actually does appear in the console but uses the stderr stream.

Validation

The change is a simple text clarification in documentation. Reviewers should verify that the new wording accurately describes console.error behavior - that it appears in the console like normal output but uses stderr instead of stdout.

Related Issues

None - this is a standalone documentation improvement.

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I have run pnpm format to ensure the code follows the style guide.
  • I have run pnpm test to check if all tests are passing.
  • I have run pnpm build to check if the website builds without errors.
  • I've covered new added functionality with unit tests if necessary.

Copilot AI review requested due to automatic review settings July 1, 2025 11:15
@ezra-ramatong ezra-ramatong requested a review from a team as a code owner July 1, 2025 11:15
@vercel
Copy link

vercel bot commented Jul 1, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nodejs-org ✅ Ready (Inspect) Visit Preview Jul 1, 2025 11:16am

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR improves the documentation for console.error by clarifying that, although error messages are sent to stderr, they still appear in the console.

  • Clarifies the behavior of console.error output
  • Updates the existing misleading description in the documentation
Comments suppressed due to low confidence (1)

apps/site/pages/en/learn/command-line/output-to-the-command-line-using-nodejs.md:168

  • The clarification is an improvement; however, consider explicitly mentioning that error messages are printed via stderr to remove any potential ambiguity.
It will appear in the console, but can be handled separately from regular output.

Copy link
Member

@mikeesto mikeesto left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

Copy link
Member

@AugustinMauroy AugustinMauroy left a comment

Choose a reason for hiding this comment

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

LGMT ! Thanks for your first contribution

@mikeesto mikeesto added the github_actions:pull-request Trigger Pull Request Checks label Jul 2, 2025
@github-actions github-actions bot removed the github_actions:pull-request Trigger Pull Request Checks label Jul 2, 2025
@mikeesto mikeesto enabled auto-merge July 2, 2025 23:35
@github-actions
Copy link
Contributor

github-actions bot commented Jul 2, 2025

Lighthouse Results

URL Performance Accessibility Best Practices SEO Report
/en 🟢 99 🟢 100 🟢 100 🟢 91 🔗
/en/about 🟢 100 🟢 96 🟢 100 🟠 82 🔗
/en/about/previous-releases 🟢 99 🟢 96 🟢 100 🟠 83 🔗
/en/download 🟢 99 🟢 100 🟢 100 🟢 91 🔗
/en/blog 🟢 100 🟢 100 🟢 96 🟢 92 🔗

@codecov
Copy link

codecov bot commented Jul 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.42%. Comparing base (c15a2a3) to head (d8d130a).
Report is 4 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7913      +/-   ##
==========================================
- Coverage   75.42%   75.42%   -0.01%     
==========================================
  Files          96       96              
  Lines        8355     8354       -1     
  Branches      219      219              
==========================================
- Hits         6302     6301       -1     
  Misses       2051     2051              
  Partials        2        2              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mikeesto mikeesto added this pull request to the merge queue Jul 2, 2025
Merged via the queue into nodejs:main with commit f13375c Jul 2, 2025
15 checks passed
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

Successfully merging this pull request may close these issues.

5 participants