mirror of
https://github.com/gchq/CyberChef
synced 2025-12-10 13:23:25 +00:00
adding more tests
This commit is contained in:
@@ -81,6 +81,10 @@ function transformArgs(originalArgs, newArgs) {
|
||||
* @param input
|
||||
*/
|
||||
const ensureIsDish = function ensureIsDish(input) {
|
||||
if (!input) {
|
||||
return new SyncDish();
|
||||
}
|
||||
|
||||
let dish;
|
||||
if (input instanceof SyncDish) {
|
||||
dish = input;
|
||||
|
||||
Reference in New Issue
Block a user