We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent beadd66 commit 4afcea2Copy full SHA for 4afcea2
1 file changed
get-files.js
@@ -38,7 +38,7 @@ function getFiles (path, keepRoot, cb) {
38
traversePath(path, getFileInfo, (err, files) => {
39
if (err) return cb(err)
40
41
- if (Array.isArray(files)) files = files.flat()
+ if (Array.isArray(files)) files = files.flat(Infinity)
42
else files = [files]
43
44
path = corePath.normalize(path)
0 commit comments