diff options
author | Arslan Ali <arslanali.921996@gmail.com> | 2021-09-29 11:01:54 +0300 |
---|---|---|
committer | Antoine du Hamel <duhamelantoine1995@gmail.com> | 2021-10-09 17:12:13 +0300 |
commit | 0d50dfdf61527b8f9f0e70885cefaae23963c0a8 (patch) | |
tree | a8b20a28a705cb5cc8a3674df7f3fb213b18d1ca | |
parent | cca9b95523243044f26aab29bb5976f3ece34c43 (diff) |
doc: improve phrasing in fs.md
PR-URL: https://github.com/nodejs/node/pull/40255
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
-rw-r--r-- | doc/api/fs.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/fs.md b/doc/api/fs.md index b3575145eaa..42aaf1e3c79 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -6752,7 +6752,7 @@ readFileSync(new URL('file:///tmp/hello')); On Windows, `file:` {URL}s with a host name convert to UNC paths, while `file:` {URL}s with drive letters convert to local absolute paths. `file:` {URL}s -without a host name nor a drive letter will result in an error: +with no host name and no drive letter will result in an error: ```mjs import { readFileSync } from 'fs'; |