Skip to content

Commit 3706920

Browse files
yhattsindresorhus
authored andcommitted
Upgrade fast-glob package to v3 (#126)
1 parent 8aadde8 commit 3706920

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const checkCwdOption = options => {
2424
}
2525
};
2626

27-
const getPathString = p => p instanceof fs.Stats ? p.path : p;
27+
const getPathString = p => p.stats instanceof fs.Stats ? p.path : p;
2828

2929
const generateGlobTasks = (patterns, taskOptions) => {
3030
patterns = arrayUnion([].concat(patterns));

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@
5858
"dependencies": {
5959
"@types/glob": "^7.1.1",
6060
"array-union": "^2.1.0",
61-
"dir-glob": "^2.2.2",
62-
"fast-glob": "^2.2.6",
61+
"dir-glob": "^3.0.1",
62+
"fast-glob": "^3.0.3",
6363
"glob": "^7.1.3",
6464
"ignore": "^5.1.1",
6565
"merge2": "^1.2.3",

0 commit comments

Comments
 (0)