diff --git a/src/clprocessor.js b/src/clprocessor.js index 01fe8bc..9875d5f 100644 --- a/src/clprocessor.js +++ b/src/clprocessor.js @@ -58,6 +58,7 @@ export default async function clProcessor(commands) { for (let i=0; i0) console.log("Invalid number of parameters"); helpCmd(cmd); return 99; } - return; + return res; } } if (cl.length>0) console.log("Invalid command");