fix(statemachine): ✏️ fix SM action function sending Lower instead of Upper case commands

master
jay 3 years ago
parent 42138a421b
commit e2ae7e5ad2
  1. 2
      lib/plugins/statemachine.js

@ -298,7 +298,7 @@ function actionSM(action, name = getSM()) {
if (service.status !== InterpreterStatus.Running) if (service.status !== InterpreterStatus.Running)
return; return;
// const machine = service.machine // const machine = service.machine
service.send(action.toLowerCase()); service.send(action.toUpperCase());
} }
function stepSM(command = "", ...message_parts) { function stepSM(command = "", ...message_parts) {
let service = getSM(undefined, true); let service = getSM(undefined, true);

Loading…
Cancel
Save