@base44-preview/cli 0.0.41-pr.394.bc17994 → 0.0.41-pr.394.c750b51

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/cli/index.js CHANGED
@@ -247994,10 +247994,10 @@ function validateInput(command) {
247994
247994
  const hasEntries = entries.length > 0;
247995
247995
  const hasEnvFile = Boolean(envFile);
247996
247996
  if (!hasEntries && !hasEnvFile) {
247997
- command.error("Provide KEY=VALUE pairs or use --env-file. Example: base44 secrets set KEY1=VALUE1 KEY2=VALUE2");
247997
+ throw new InvalidInputError("Provide KEY=VALUE pairs or use --env-file. Example: base44 secrets set KEY1=VALUE1 KEY2=VALUE2");
247998
247998
  }
247999
247999
  if (hasEntries && hasEnvFile) {
248000
- command.error("Provide KEY=VALUE pairs or --env-file, but not both.");
248000
+ throw new InvalidInputError("Provide KEY=VALUE pairs or --env-file, but not both.");
248001
248001
  }
248002
248002
  }
248003
248003
  async function setSecretsAction(entries, options) {
@@ -255142,4 +255142,4 @@ export {
255142
255142
  CLIExitError
255143
255143
  };
255144
255144
 
255145
- //# debugId=E41C74C2CDF1960364756E2164756E21
255145
+ //# debugId=329D9AC43EA2056364756E2164756E21