Skip to content

Commit 0d50dfd

Browse files
warlock1996aduh95
authored andcommitted
doc: improve phrasing in fs.md
PR-URL: #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>
1 parent cca9b95 commit 0d50dfd

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
@@ -6752,7 +6752,7 @@ readFileSync(new URL('file:///tmp/hello'));
67526752
67536753
On Windows, `file:` {URL}s with a host name convert to UNC paths, while `file:`
67546754
{URL}s with drive letters convert to local absolute paths. `file:` {URL}s
6755-
without a host name nor a drive letter will result in an error:
6755+
with no host name and no drive letter will result in an error:
67566756
67576757
```mjs
67586758
import { readFileSync } from 'fs';

0 commit comments

Comments
 (0)