fix(statemachine): ✏️ fix SM action function sending Lower instead of Upper case commands
This commit is contained in:
parent
42138a421b
commit
e2ae7e5ad2
|
@ -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…
Reference in New Issue
Block a user