Skip to content

Commit 6c091c7

Browse files
warlock1996targos
authored andcommitted
doc: improve phrasing in fs.md
PR-URL: #40255 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 7e02124 commit 6c091c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/fs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6686,7 +6686,7 @@ readFileSync(new URL('file:///tmp/hello'));
66866686
66876687
On Windows, `file:` {URL}s with a host name convert to UNC paths, while `file:`
66886688
{URL}s with drive letters convert to local absolute paths. `file:` {URL}s
6689-
without a host name nor a drive letter will result in an error:
6689+
with no host name and no drive letter will result in an error:
66906690
66916691
```mjs
66926692
import { readFileSync } from 'fs';

0 commit comments

Comments
 (0)