Skip to content

Commit 1e793f1

Browse files
Rawal27aduh95
authored andcommitted
doc: fix callback example import in fs docs
Signed-off-by: Rawal27 <[email protected]> PR-URL: #63912 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 1be32f3 commit 1e793f1

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
@@ -8529,7 +8529,7 @@ rename('/tmp/hello', '/tmp/world', (err) => {
85298529
```
85308530
85318531
```cjs
8532-
const { rename, stat } = require('node:fs/promises');
8532+
const { rename, stat } = require('node:fs');
85338533

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

0 commit comments

Comments
 (0)