mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 12:20:27 +01:00
doc: fixed typo in process.md
Replaced params in writeFileSync function in proper way. PR-URL: https://github.com/nodejs/node/pull/38941 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
This commit is contained in:
parent
c99a09f05f
commit
cd48ee71d9
|
|
@ -1978,7 +1978,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][].
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user