2
0
mirror of https://github.com/gchq/CyberChef synced 2025-12-05 23:53:27 +00:00

fix: properly handle undefined results

This commit is contained in:
Jon King
2025-02-17 10:15:13 -07:00
parent 2b2435210b
commit c4574ff042

View File

@@ -58,7 +58,7 @@ class JsonataQuery extends Operation {
);
}
return JSON.stringify(result);
return JSON.stringify(result === undefined ? "" : result);
}
}