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 aduh95 committed Oct 9, 2021
1 parent cca9b95 commit 0d50dfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/fs.md
Expand Up @@ -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';
Expand Down

0 comments on commit 0d50dfd

Please sign in to comment.