We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
fs.symlink
1 parent 404730a commit fd94621Copy full SHA for fd94621
doc/api/fs.md
@@ -3756,15 +3756,15 @@ Relative targets are relative to the link’s parent directory.
3756
```mjs
3757
import { symlink } from 'fs';
3758
3759
-symlink('./mew', './example/mewtwo', callback);
+symlink('./mew', './mewtwo', callback);
3760
```
3761
3762
-The above example creates a symbolic link `mewtwo` in the `example` which points
3763
-to `mew` in the same directory:
+The above example creates a symbolic link `mewtwo` which points to `mew` in the
+same directory:
3764
3765
```bash
3766
-$ tree example/
3767
-example/
+$ tree .
+.
3768
├── mew
3769
└── mewtwo -> ./mew
3770
0 commit comments