Skip to content

Commit d4b08e9

Browse files
committed
doc: fix callback example import in fs docs
1 parent 4383f67 commit d4b08e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/api/fs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8790,7 +8790,7 @@ rename('/tmp/hello', '/tmp/world', (err) => {
87908790
```
87918791
87928792
```cjs
8793-
const { rename, stat } = require('node:fs/promises');
8793+
const { rename, stat } = require('node:fs');
87948794

87958795
rename('/tmp/hello', '/tmp/world', (err) => {
87968796
if (err) throw err;

0 commit comments

Comments
 (0)