modality-kit 0.17.3 → 0.17.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -15624,7 +15624,7 @@ function recursiveScanForFiles(baseDir, options) {
|
|
|
15624
15624
|
scanDirectory(fullPath, relPath, false);
|
|
15625
15625
|
}
|
|
15626
15626
|
} else if ((!fileExtensions || extensionSet.has(extname(entry))) && fileNameFilter(entry)) {
|
|
15627
|
-
if (statSync(fullPath)
|
|
15627
|
+
if (statSync(fullPath, { throwIfNoEntry: false })?.isFile()) {
|
|
15628
15628
|
files.push({ filename: relPath, fullPath });
|
|
15629
15629
|
}
|
|
15630
15630
|
}
|
package/package.json
CHANGED