Skip to content

Commit

Permalink
doc: fixed typo in process.md
Browse files Browse the repository at this point in the history
Replaced params in writeFileSync function in proper way.

PR-URL: #38941
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Harshitha K P <[email protected]>
Reviewed-By: Zijian Liu <[email protected]>
  • Loading branch information
maks-der authored and targos committed Jun 11, 2021
1 parent e82111f commit 5218fe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -2028,7 +2028,7 @@ console.log(data.header.nodejsVersion);

// Similar to process.report.writeReport()
const fs = require('fs');
fs.writeFileSync(util.inspect(data), 'my-report.log', 'utf8');
fs.writeFileSync('my-report.log', util.inspect(data), 'utf8');
```

Additional documentation is available in the [report documentation][].
Expand Down

0 comments on commit 5218fe8

Please sign in to comment.