Skip to content

Commit 25dc26f

Browse files
committed
doc: fix code example in fs.symlink method
Fixes: #40413
1 parent 40db88b commit 25dc26f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/fs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3661,7 +3661,7 @@ Relative targets are relative to the link’s parent directory.
36613661
```mjs
36623662
import { symlink } from 'fs';
36633663
3664-
symlink('./mew', './example/mewtwo', callback);
3664+
symlink('./mew', './mewtwo', callback);
36653665
```
36663666

36673667
The above example creates a symbolic link `mewtwo` in the `example` which points

0 commit comments

Comments
 (0)