Skip to content

Commit 4f3bd62

Browse files
sinkhahabmeck
authored andcommitted
doc: update fs.realpath documentation
PR-URL: nodejs#48170 Fixes: nodejs#45067 Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 89ad851 commit 4f3bd62

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/api/fs.md

+3
Original file line numberDiff line numberDiff line change
@@ -4115,6 +4115,9 @@ the path returned will be passed as a {Buffer} object.
41154115
If `path` resolves to a socket or a pipe, the function will return a system
41164116
dependent name for that object.
41174117
4118+
A path that does not exist results in an ENOENT error.
4119+
`error.path` is the absolute file path.
4120+
41184121
### `fs.realpath.native(path[, options], callback)`
41194122
41204123
<!-- YAML

0 commit comments

Comments
 (0)