Skip to content

Commit 08958fa

Browse files
jedwards1211isaacs
authored andcommitted
docs: correct ignore method names
fix #607 PR-URL: #608 Credit: @jedwards1211 Close: #608 Reviewed-by: @isaacs
1 parent feaf0a8 commit 08958fa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -518,8 +518,8 @@ share the previously loaded cache.
518518
as modified time, permissions, and so on. Note that this will
519519
incur a performance cost due to the added system calls.
520520

521-
- `ignore` string or string[], or an object with `ignore` and
522-
`ignoreChildren` methods.
521+
- `ignore` string or string[], or an object with `ignored` and
522+
`childrenIgnored` methods.
523523

524524
If a string or string[] is provided, then this is treated as a
525525
glob pattern or array of glob patterns to exclude from matches.

src/glob.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export interface GlobOptions {
101101
follow?: boolean
102102

103103
/**
104-
* string or string[], or an object with `ignore` and `ignoreChildren`
104+
* string or string[], or an object with `ignored` and `childrenIgnored`
105105
* methods.
106106
*
107107
* If a string or string[] is provided, then this is treated as a glob

0 commit comments

Comments
 (0)