We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
fs.symlink
1 parent 595117f commit dea7010Copy full SHA for dea7010
doc/api/fs.md
@@ -3695,15 +3695,15 @@ Relative targets are relative to the link’s parent directory.
3695
```mjs
3696
import { symlink } from 'fs';
3697
3698
-symlink('./mew', './example/mewtwo', callback);
+symlink('./mew', './mewtwo', callback);
3699
```
3700
3701
-The above example creates a symbolic link `mewtwo` in the `example` which points
3702
-to `mew` in the same directory:
+The above example creates a symbolic link `mewtwo` which points to `mew` in the
+same directory:
3703
3704
```bash
3705
-$ tree example/
3706
-example/
+$ tree .
+.
3707
├── mew
3708
└── mewtwo -> ./mew
3709
0 commit comments