From 0f3233da8059a00fafb3136cf57499231f513d3c Mon Sep 17 00:00:00 2001 From: Oskari Noppa Date: Fri, 11 Nov 2022 13:13:00 +0200 Subject: [PATCH] Fix "cmd is unknown" errors on version check The execution continued after version check was made, ending up in "cmd is unknown". --- host.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host.js b/host.js index 9c1e418..8bfe397 100755 --- a/host.js +++ b/host.js @@ -49,7 +49,7 @@ function observe(msg, push, done) { }); done(); } - if (msg.cmd === 'spec') { + else if (msg.cmd === 'spec') { push({ version: config.version, env: process.env,