diff --git a/index.js b/index.js index 029a19e..904338d 100644 --- a/index.js +++ b/index.js @@ -24,7 +24,7 @@ const checkCwdOption = options => { } }; -const getPathString = p => p instanceof fs.Stats ? p.path : p; +const getPathString = p => p.stats instanceof fs.Stats ? p.path : p; const generateGlobTasks = (patterns, taskOptions) => { patterns = arrayUnion([].concat(patterns)); diff --git a/package.json b/package.json index 3c66658..9704f8a 100644 --- a/package.json +++ b/package.json @@ -58,8 +58,8 @@ "dependencies": { "@types/glob": "^7.1.1", "array-union": "^2.1.0", - "dir-glob": "^2.2.2", - "fast-glob": "^2.2.6", + "dir-glob": "^3.0.1", + "fast-glob": "^3.0.3", "glob": "^7.1.3", "ignore": "^5.1.1", "merge2": "^1.2.3",