Skip to content

Commit

Permalink
update readme with cwd URL support
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Feb 27, 2023
1 parent ad3904d commit 474172d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Expand Up @@ -198,12 +198,12 @@ If you are running many `glob` operations, you can pass a Glob
object as the `options` argument to a subsequent operation to
share the previously loaded cache.

- `cwd` String. The current working directory in which to
search. Defaults to `process.cwd()`. This option is always
coerced to use forward-slashes as a path separator, because it
is not tested as a glob pattern, so there is no need to escape
anything. See also: "Windows, CWDs, Drive Letters, and UNC
Paths", below.
- `cwd` String path or `file://` string or URL object. The
current working directory in which to search. Defaults to
`process.cwd()`. This option is always coerced to use
forward-slashes as a path separator, because it is not tested
as a glob pattern, so there is no need to escape anything. See
also: "Windows, CWDs, Drive Letters, and UNC Paths", below.

This option may be eiher a string path or a `file://` URL
object or string.
Expand Down

0 comments on commit 474172d

Please sign in to comment.