mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 14:56:19 -04: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