mirror of
https://github.com/gchq/CyberChef.git
synced 2026-01-24 13:31:13 -08:00
fix: properly handle undefined results
This commit is contained in:
parent
2b2435210b
commit
c4574ff042
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ class JsonataQuery extends Operation {
|
|||
);
|
||||
}
|
||||
|
||||
return JSON.stringify(result);
|
||||
return JSON.stringify(result === undefined ? "" : result);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue