mirror of
https://github.com/gchq/CyberChef
synced 2025-12-15 15:53:30 +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