From e2ae7e5ad26563b12770a76b854f060313c34988 Mon Sep 17 00:00:00 2001 From: jay Date: Sat, 3 Apr 2021 15:16:46 +0500 Subject: [PATCH] fix(statemachine): :pencil2: fix SM action function sending Lower instead of Upper case commands --- lib/plugins/statemachine.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins/statemachine.js b/lib/plugins/statemachine.js index e8eeabf..e632190 100644 --- a/lib/plugins/statemachine.js +++ b/lib/plugins/statemachine.js @@ -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);