sanity 6.3.0-next.39 → 6.3.0-next.40
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/lib/_chunks-es/index2.js
CHANGED
|
@@ -26433,7 +26433,7 @@ function normalizeItems(items) {
|
|
|
26433
26433
|
} catch {
|
|
26434
26434
|
return toArray(item.getAsFile());
|
|
26435
26435
|
}
|
|
26436
|
-
return entry
|
|
26436
|
+
return entry && entry.isDirectory ? walk(entry) : toArray(item.getAsFile());
|
|
26437
26437
|
}
|
|
26438
26438
|
if (item.kind === "file") {
|
|
26439
26439
|
const file = item.getAsFile();
|