Skip to content

Commit a6d624c

Browse files
sinkhahatargos
authored andcommitted
doc: update fs.realpath documentation
PR-URL: #48170 Fixes: #45067 Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent a5d63f9 commit a6d624c

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)