There was an error while loading. Please reload this page.
1 parent 24e3209 commit 60abc44Copy full SHA for 60abc44
1 file changed
doc/api/fs.md
@@ -8899,7 +8899,7 @@ rename('/tmp/hello', '/tmp/world', (err) => {
8899
```
8900
8901
```cjs
8902
-const { rename, stat } = require('node:fs/promises');
+const { rename, stat } = require('node:fs');
8903
8904
rename('/tmp/hello', '/tmp/world', (err) => {
8905
if (err) throw err;
0 commit comments