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

This commit is contained in:
jay 2021-04-03 15:16:46 +05:00
parent 42138a421b
commit e2ae7e5ad2

View File

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