Skip to content

Commit

Permalink
chore: Remove the order negation wording in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Jan 3, 2023
1 parent c92aa14 commit 5097aed
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,26 +95,6 @@ Default: `'path'`

Any glob-related options are documented in [picomatch][picomatch-options-url].

#### Globbing & Negation

```js
var stream = gs(['./**/*.js', '!./node_modules/**/*']);
```

Globs are executed in order, so negations should follow positive globs. For example:

The following would **not** exclude any files:

```js
gs(['!b*.js', '*.js']);
```

However, this would exclude all files that started with `b`:

```js
gs(['*.js', '!b*.js']);
```

## License

MIT
Expand Down

0 comments on commit 5097aed

Please sign in to comment.