mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 14:56:19 -04:00
Fix magic not always working
This commit is contained in:
parent
e9d60f73f4
commit
df20196201
1 changed files with 3 additions and 3 deletions
|
@ -51,10 +51,10 @@ class OutputWaiter {
|
||||||
|
|
||||||
if (this.outputs[inputNum].data === null) return "";
|
if (this.outputs[inputNum].data === null) return "";
|
||||||
|
|
||||||
if (typeof this.outputs[inputNum].data.dish.value === "string") {
|
if (typeof this.outputs[inputNum].data.result === "string") {
|
||||||
return this.outputs[inputNum].data.dish.value;
|
return this.outputs[inputNum].data.result;
|
||||||
} else {
|
} else {
|
||||||
return this.outputs[inputNum].data.dish.value || "";
|
return this.outputs[inputNum].data.result || "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue