mirror of
https://github.com/gchq/CyberChef
synced 2025-12-05 23:53:27 +00:00
Improvements and basic tests for Magic op and addition of deep cloning for dishes
This commit is contained in:
@@ -96,7 +96,7 @@ class Chef {
|
||||
const returnType = this.dish.size > threshold ? Dish.ARRAY_BUFFER : Dish.STRING;
|
||||
|
||||
// Create a raw version of the dish, unpresented
|
||||
const rawDish = new Dish(this.dish);
|
||||
const rawDish = this.dish.clone();
|
||||
|
||||
// Present the raw result
|
||||
await recipe.present(this.dish);
|
||||
|
||||
Reference in New Issue
Block a user