mirror of
https://github.com/gchq/CyberChef.git
synced 2024-11-02 22:21:01 +01:00
Fix magic not always working
This commit is contained in:
parent
e9d60f73f4
commit
df20196201
@ -51,10 +51,10 @@ class OutputWaiter {
|
||||
|
||||
if (this.outputs[inputNum].data === null) return "";
|
||||
|
||||
if (typeof this.outputs[inputNum].data.dish.value === "string") {
|
||||
return this.outputs[inputNum].data.dish.value;
|
||||
if (typeof this.outputs[inputNum].data.result === "string") {
|
||||
return this.outputs[inputNum].data.result;
|
||||
} else {
|
||||
return this.outputs[inputNum].data.dish.value || "";
|
||||
return this.outputs[inputNum].data.result || "";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user