Skip to content

Commit 5d81f42

Browse files
rafaellottophated
authored andcommitted
Docs: Fix typo in Explaining Globs (gulpjs#2326)
1 parent ea3bba4 commit 5d81f42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/getting-started/6-explaining-globs.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ Here, the glob is appropriately restricted to the `scripts/` directory. It will
5252
Since globs are matched in array order, a negative glob must follow at least one non-negative glob in an array. The first finds a set of matches, then the negative glob removes a portion of those results. These are most performant when they only include literal characters.
5353

5454
```js
55-
['script/**/*.js', '!scripts/vendor/']
55+
['scripts/**/*.js', '!scripts/vendor/']
5656
```
5757

5858
If any non-negative globs follow a negative, nothing will be removed from the later set of matches.
5959

6060
```js
61-
['script/**/*.js', '!scripts/vendor/', 'scripts/vendor/react.js']
61+
['scripts/**/*.js', '!scripts/vendor/', 'scripts/vendor/react.js']
6262
```
6363

6464
Negative globs can be used as an alternative for restricting double-star globs.

0 commit comments

Comments
 (0)