Skip to content

Commit 050f395

Browse files
authored
Update reading-files-with-nodejs.md (#6684)
change lang from "js" to "cjs" for consistency Signed-off-by: huseeiin <[email protected]>
1 parent bcaca06 commit 050f395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/en/learn/manipulating-files/reading-files-with-nodejs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ try {
5858

5959
You can also use the promise-based `fsPromises.readFile()` method offered by the `fs/promises` module:
6060

61-
```js
61+
```cjs
6262
const fs = require('node:fs/promises');
6363

6464
async function example() {

0 commit comments

Comments
 (0)