@plasmicapp/cli 0.1.303 → 0.1.304

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
@@ -739542,7 +739542,7 @@ Please provide the API tokens with the format PROJECT_ID:PROJECT_API_TOKEN`
739542
739542
  if (existsBuffered(output)) {
739543
739543
  const overwrite = await confirmWithUser(
739544
739544
  `File ${output} already exists. Do you want to overwrite?`,
739545
- opts.forceOverwrite
739545
+ opts.forceOverwrite || opts.yes
739546
739546
  );
739547
739547
  if (!overwrite) {
739548
739548
  throw new HandledError(
package/dist/lib.js CHANGED
@@ -734841,7 +734841,7 @@ Please provide the API tokens with the format PROJECT_ID:PROJECT_API_TOKEN`
734841
734841
  if (existsBuffered(output)) {
734842
734842
  const overwrite = await confirmWithUser(
734843
734843
  `File ${output} already exists. Do you want to overwrite?`,
734844
- opts.forceOverwrite
734844
+ opts.forceOverwrite || opts.yes
734845
734845
  );
734846
734846
  if (!overwrite) {
734847
734847
  throw new HandledError(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicapp/cli",
3
- "version": "0.1.303",
3
+ "version": "0.1.304",
4
4
  "description": "plasmic cli for syncing local code with Plasmic designs",
5
5
  "engines": {
6
6
  "node": ">=12"
@@ -78,5 +78,5 @@
78
78
  "wrap-ansi": "^7.0.0",
79
79
  "yargs": "^15.4.1"
80
80
  },
81
- "gitHead": "21247728f875ffbc940e6b4636e99f7a67aca454"
81
+ "gitHead": "7569dd15624b746deaea9cf9631a43961a30f52f"
82
82
  }
@@ -109,7 +109,7 @@ export async function localizationStrings(
109
109
  if (existsBuffered(output)) {
110
110
  const overwrite = await confirmWithUser(
111
111
  `File ${output} already exists. Do you want to overwrite?`,
112
- opts.forceOverwrite
112
+ opts.forceOverwrite || opts.yes
113
113
  );
114
114
  if (!overwrite) {
115
115
  throw new HandledError(