Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5d8e99a25d30bfcaff25e477cab39973a19ddfe9
Choose a base ref
..
head repository: nodejs/node
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2293c3e8be99f9f9e4768b4b0876e5b16d5c69aa
Choose a head ref
Showing with 5 additions and 5 deletions.
  1. +2 βˆ’2 doc/api/cli.md
  2. +3 βˆ’3 doc/api/process.md
4 changes: 2 additions & 2 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
@@ -1064,8 +1064,8 @@ changes:

Name of the file to which the report will be written.

If the filename is set to `stdout` or `stderr`, the report is written to the
stdout or stderr of the process respectively.
If the filename is set to `'stdout'` or `'stderr'`, the report is written to
the stdout or stderr of the process respectively.

### `--report-on-fatalerror`

6 changes: 3 additions & 3 deletions doc/api/process.md
Original file line number Diff line number Diff line change
@@ -2825,8 +2825,8 @@ Filename where the report is written. If set to the empty string, the output
filename will be comprised of a timestamp, PID, and sequence number. The default
value is the empty string.
If the value of `process.report.filename` is set to `stdout` or `stderr`, the
report is written to the stdout or stderr of the process respectively.
If the value of `process.report.filename` is set to `'stdout'` or `'stderr'`,
the report is written to the stdout or stderr of the process respectively.
```mjs
import { report } from 'node:process';
@@ -3023,7 +3023,7 @@ Writes a diagnostic report to a file. If `filename` is not provided, the default
filename includes the date, time, PID, and a sequence number. The report's
JavaScript stack trace is taken from `err`, if present.
If the value of `filename` is set to `stdout` or `stderr`, the report is
If the value of `filename` is set to `'stdout'` or `'stderr'`, the report is
written to the stdout or stderr of the process respectively.
```mjs