Skip to content

Commit cd48ee7

Browse files
maks-derrichardlau
authored andcommitted
doc: fixed typo in process.md
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]>
1 parent c99a09f commit cd48ee7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/process.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1978,7 +1978,7 @@ console.log(data.header.nodejsVersion);
19781978

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

19841984
Additional documentation is available in the [report documentation][].

0 commit comments

Comments
 (0)