@jsenv/filesystem 3.2.1 → 3.2.2
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/package.json
CHANGED
|
@@ -245,7 +245,7 @@ export const registerDirectoryLifecycle = (
|
|
|
245
245
|
readdirSync(new URL(directoryUrl)).forEach((entryName) => {
|
|
246
246
|
const childEntryUrl = new URL(entryName, directoryUrl).href
|
|
247
247
|
const childEntryInfo = readEntryInfo(childEntryUrl)
|
|
248
|
-
if (childEntryInfo) {
|
|
248
|
+
if (childEntryInfo && childEntryInfo.patternValue) {
|
|
249
249
|
handleEntryFound(childEntryInfo, { notify })
|
|
250
250
|
}
|
|
251
251
|
})
|
|
@@ -302,7 +302,7 @@ export const registerDirectoryLifecycle = (
|
|
|
302
302
|
readdirSync(new URL(sourceUrl)).forEach((entry) => {
|
|
303
303
|
const entryUrl = new URL(entry, sourceUrl).href
|
|
304
304
|
const entryInfo = readEntryInfo(entryUrl)
|
|
305
|
-
if (entryInfo) {
|
|
305
|
+
if (entryInfo && entryInfo.patternValue) {
|
|
306
306
|
handleEntryFound(entryInfo, {
|
|
307
307
|
notify: notifyExistent,
|
|
308
308
|
})
|