@erdoai/cli 0.277.0 → 0.278.0

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/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -11249,7 +11249,7 @@ integrationActionsCmd.command("run <app> <key>").description("Run an action thro
11249
11249
  if (input === null || typeof input !== "object" || Array.isArray(input)) throw new Error("action input must be a JSON object");
11250
11250
  const result = await new ErdoClient().runIntegrationAction(app, key, input);
11251
11251
  console.log(JSON.stringify(result, null, 2));
11252
- if (result.status !== "succeeded") process.exitCode = 1;
11252
+ if (!["succeeded", "pending_approval", "in_progress"].includes(result.status)) process.exitCode = 1;
11253
11253
  } catch (e) {
11254
11254
  fail(e);
11255
11255
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erdoai/cli",
3
- "version": "0.277.0",
3
+ "version": "0.278.0",
4
4
  "description": "Erdo CLI \u2014 drive datasets, pages, and evals from the terminal or CI",
5
5
  "type": "module",
6
6
  "bin": {