Skip to content

Commit 474172d

Browse files
committed
update readme with cwd URL support
1 parent ad3904d commit 474172d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -198,12 +198,12 @@ If you are running many `glob` operations, you can pass a Glob
198198
object as the `options` argument to a subsequent operation to
199199
share the previously loaded cache.
200200

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

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

0 commit comments

Comments
 (0)