Skip to content

Commit

Permalink
Fix typos (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbroadley authored and sindresorhus committed Dec 16, 2017
1 parent bc03c66 commit 8b4ea64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Expand Up @@ -109,7 +109,7 @@ Note that the options affect the results. If `noext: true` is set, then `+(a|b)`

### globby.gitignore([options])

Returns a `Promise<(path: string) => boolean>` indicating wether a given path is ignored via a `.gitignore` file.
Returns a `Promise<(path: string) => boolean>` indicating whether a given path is ignored via a `.gitignore` file.

Takes `cwd?: string` and `ignore?: string[]` as options. `.gitignore` files matched by the ignore config are not
used for the resulting filter function.
Expand All @@ -125,7 +125,7 @@ const {gitignore} = require('globby');

### globby.gitignore.sync([options])

Returns a `(path: string) => boolean` indicating wether a given path is ignored via a `.gitignore` file.
Returns a `(path: string) => boolean` indicating whether a given path is ignored via a `.gitignore` file.

Takes the same options as `globby.gitignore`.

Expand Down

0 comments on commit 8b4ea64

Please sign in to comment.