mirror of
https://github.com/gchq/CyberChef.git
synced 2026-02-06 13:17:12 +00:00
fix: properly handle undefined results
This commit is contained in:
parent
2b2435210b
commit
c4574ff042
@ -58,7 +58,7 @@ class JsonataQuery extends Operation {
|
||||
);
|
||||
}
|
||||
|
||||
return JSON.stringify(result);
|
||||
return JSON.stringify(result === undefined ? "" : result);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user