diff --git a/doc/api/fs.md b/doc/api/fs.md index c277c7874f9f88..89a5a21ecc13fd 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -3695,15 +3695,15 @@ Relative targets are relative to the link’s parent directory. ```mjs import { symlink } from 'fs'; -symlink('./mew', './example/mewtwo', callback); +symlink('./mew', './mewtwo', callback); ``` -The above example creates a symbolic link `mewtwo` in the `example` which points -to `mew` in the same directory: +The above example creates a symbolic link `mewtwo` which points to `mew` in the +same directory: ```bash -$ tree example/ -example/ +$ tree . +. ├── mew └── mewtwo -> ./mew ```