do not merge command array

This commit is contained in:
Muayyad alsadi
2022-03-18 18:29:27 +03:00
parent 105c27c8dc
commit 1be41b46a5
7 changed files with 17 additions and 8 deletions

View File

@ -8,9 +8,9 @@ async function loop() {
try {
task_desc = JSON.parse(task_desc_s);
} catch (e) {
proj.logger.exception(e);
console.exception(e);
}
proj.logger.info("got task "+task_desc.func);
console.info("got task "+task_desc.func);
const func = task_desc.func;
const args = task_desc.args;
if (typeof(proj.tasks[func])!="function") {