create-cookbook 1.0.0-alpha.71 → 1.0.0-alpha.73

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.
Files changed (2) hide show
  1. package/index.mjs +0 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -73,7 +73,6 @@ const color = gradient(["cyan", "#2d9b87"]);
73
73
  const utils = {
74
74
  downloadFile: async (url, workspace, filename) => {
75
75
  const res = await fetch(url);
76
- if (!existsSync("downloads")) await mkdirSync("downloads");
77
76
  if (existsSync(join(workspace, filename))) await remove(join(workspace, filename));
78
77
  const destination = join(workspace, filename);
79
78
  const fileStream = createWriteStream(destination, { flags: "wx" });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-cookbook",
3
- "version": "1.0.0-alpha.71",
3
+ "version": "1.0.0-alpha.73",
4
4
  "main": "index.mjs",
5
5
  "bin": {
6
6
  "create-cookbook": "./index.mjs"