@plasmicapp/cli 0.1.325 → 0.1.326

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 CHANGED
@@ -501347,9 +501347,7 @@ async function writeFileContentRaw(filePath, content, opts) {
501347
501347
  opts.yes
501348
501348
  );
501349
501349
  if (!overwrite) {
501350
- throw new HandledError(
501351
- `Cannot write to ${filePath}; file already exists.`
501352
- );
501350
+ return;
501353
501351
  }
501354
501352
  }
501355
501353
  import_fs.default.mkdirSync(import_upath3.default.dirname(filePath), { recursive: true });
package/dist/lib.js CHANGED
@@ -496689,9 +496689,7 @@ async function writeFileContentRaw(filePath, content, opts) {
496689
496689
  opts.yes
496690
496690
  );
496691
496691
  if (!overwrite) {
496692
- throw new HandledError(
496693
- `Cannot write to ${filePath}; file already exists.`
496694
- );
496692
+ return;
496695
496693
  }
496696
496694
  }
496697
496695
  import_fs.default.mkdirSync(import_upath3.default.dirname(filePath), { recursive: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicapp/cli",
3
- "version": "0.1.325",
3
+ "version": "0.1.326",
4
4
  "description": "plasmic cli for syncing local code with Plasmic designs",
5
5
  "engines": {
6
6
  "node": ">=12"
@@ -83,5 +83,5 @@
83
83
  "wrap-ansi": "^7.0.0",
84
84
  "yargs": "^15.4.1"
85
85
  },
86
- "gitHead": "8d1891b9f0e720b991b938196da636853e7672c0"
86
+ "gitHead": "ad59ed5496d82342c85e25fe87cbe0d49ad99155"
87
87
  }
@@ -41,9 +41,7 @@ export async function writeFileContentRaw(
41
41
  opts.yes
42
42
  );
43
43
  if (!overwrite) {
44
- throw new HandledError(
45
- `Cannot write to ${filePath}; file already exists.`
46
- );
44
+ return;
47
45
  }
48
46
  }
49
47