Wow. I expected that this would work, but I'm seeing the same thing.
My Core > Custom Code is this:
And the Action of the same rule is this :
All I see in the console is :
Rule "test custom code" fired.
- {$type: "core.custom-code", $rule: {…}}
- $rule:
- id: "RL02f3b17f28374cbfa44ec037d130a07c"
- name: "test custom code"
- __proto__: Object
- $type: "core.custom-code"
- type: "core.custom-code"
- get type: ƒ ()
- __proto__: Object