mirror of
https://github.com/gchq/CyberChef
synced 2025-12-05 23:53:27 +00:00
Fix magic not always working
This commit is contained in:
@@ -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 || "";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user