Skip to content


Browse files Browse the repository at this point in the history
doc: improve phrasing in
PR-URL: #40255
Reviewed-By: Antoine du Hamel <>
Reviewed-By: Tobias Nießen <>
Reviewed-By: James M Snell <>
  • 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/
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:

import { readFileSync } from 'fs';
Expand Down

0 comments on commit 6c091c7

Please sign in to comment.