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:
@@ -58,7 +58,7 @@ class JsonataQuery extends Operation {
|
||||
);
|
||||
}
|
||||
|
||||
return JSON.stringify(result);
|
||||
return JSON.stringify(result === undefined ? "" : result);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user