Skip to content

Commit

Permalink
doc: fix code example in fs.symlink method
Browse files Browse the repository at this point in the history
Fixes: #40413
  • Loading branch information
juanarbol committed Oct 12, 2021
1 parent 40db88b commit b79f2c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/api/fs.md
Expand Up @@ -3661,11 +3661,11 @@ 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/
Expand Down

0 comments on commit b79f2c1

Please sign in to comment.