@toolr/seedr 0.1.19 → 0.1.21
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.
|
@@ -101,7 +101,7 @@ async function fetchItemToDestination(item, destPath) {
|
|
|
101
101
|
const { writeFile: writeFile2, mkdir: mkdir2 } = await import("fs/promises");
|
|
102
102
|
const { dirname: dirname4, join: join5 } = await import("path");
|
|
103
103
|
const { remote } = getItemBaseUrl(item);
|
|
104
|
-
if (item.
|
|
104
|
+
if (item.contents?.files) {
|
|
105
105
|
await mkdir2(destPath, { recursive: true });
|
|
106
106
|
await fetchFileTree(item.contents.files, remote, destPath);
|
|
107
107
|
return;
|
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED