Skip to content

Commit 0f14c42

Browse files
sinkhahamarco-ippolito
authored andcommitted
doc: update fs.realpath documentation
PR-URL: #48170 Fixes: #45067 Reviewed-By: James M Snell <[email protected]>
1 parent baa6b55 commit 0f14c42

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/api/fs.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3987,6 +3987,9 @@ the path returned will be passed as a {Buffer} object.
39873987
If `path` resolves to a socket or a pipe, the function will return a system
39883988
dependent name for that object.
39893989
3990+
A path that does not exist results in an ENOENT error.
3991+
`error.path` is the absolute file path.
3992+
39903993
### `fs.realpath.native(path[, options], callback)`
39913994
39923995
<!-- YAML

0 commit comments

Comments
 (0)