Skip to content

Commit

Permalink
doc: improve phrasing in fs.md
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
warlock1996 authored and targos committed Oct 13, 2021
1 parent 7e02124 commit 6c091c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -6686,7 +6686,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';
Expand Down

0 comments on commit 6c091c7

Please sign in to comment.