mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-22 07:46:16 -04:00
Remove getOutput function, use Dish object instead
Fix inputNum error in WorkerWaiter. Replace explicit tab shadows with class lists
This commit is contained in:
parent
710223d7de
commit
a08419a4ce
3 changed files with 55 additions and 70 deletions
|
@ -178,7 +178,7 @@ class WorkerWaiter {
|
|||
let inputNum = 0;
|
||||
log.debug(`Receiving ${r.action} from ChefWorker.`);
|
||||
|
||||
if ("inputNum" in r.data) {
|
||||
if (Object.prototype.hasOwnProperty.call(r.data, "inputNum")) {
|
||||
inputNum = r.data.inputNum;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue