Skip to content

Commit 2e57ffa

Browse files
committedJan 17, 2022
Fix readme
1 parent 1224230 commit 2e57ffa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ This function is backed by [`fast-glob`](https://github.com/mrmlnc/fast-glob#isd
124124

125125
### isGitIgnored(options?)
126126

127-
Returns a `Promise<(path: string) => boolean>` indicating whether a given path is ignored via a `.gitignore` file.
127+
Returns a `Promise<(path: URL | string) => boolean>` indicating whether a given path is ignored via a `.gitignore` file.
128128

129129
Takes `cwd?: URL | string` and `ignore?: string[]` as options. `.gitignore` files matched by the ignore config are not used for the resulting filter function.
130130

0 commit comments

Comments
 (0)
Please sign in to comment.