@cloud-cli/on 1.6.0 → 1.6.1

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/on.js +5 -2
  2. package/package.json +1 -1
package/dist/on.js CHANGED
@@ -3297,8 +3297,11 @@ var pn = {
3297
3297
  return this.evaluateExpression(n, t);
3298
3298
  }
3299
3299
  static async evaluateConditions(e, t = {}) {
3300
- typeof e == "string" && (e = [e]), process.env.DEBUG && console.log(e, t);
3301
- for (let n of e) if (await this.evaluateExpression(n, t)) return !0;
3300
+ typeof e == "string" && (e = [e]);
3301
+ for (let n of e) {
3302
+ let e = await this.evaluateExpression(n, t);
3303
+ if (process.env.DEBUG && console.log("condition", e, n, t), e) return !0;
3304
+ }
3302
3305
  return !1;
3303
3306
  }
3304
3307
  static async evaluateExpression(e, t = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloud-cli/on",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "CLI entry point for the on plugin ecosystem.",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@10.30.3",