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:
Derevianchenko Maksym authored and Richard Lau committed 2021-07-20 07:11:33 -04:00
1 parent c99a09f05f
commit cd48ee71d9
1 file changed
+1 -1
+1 -1
View File
@@ -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][].