mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 23:06:16 -04:00
Removed treatAsUTF8 option
This commit is contained in:
parent
4e512a9a7b
commit
e9d7a8363c
9 changed files with 24 additions and 42 deletions
|
@ -41,8 +41,7 @@ class Chef {
|
|||
log.debug("Chef baking");
|
||||
const startTime = Date.now(),
|
||||
recipe = new Recipe(recipeConfig),
|
||||
containsFc = recipe.containsFlowControl(),
|
||||
notUTF8 = options && "treatAsUtf8" in options && !options.treatAsUtf8;
|
||||
containsFc = recipe.containsFlowControl();
|
||||
let error = false,
|
||||
progress = 0;
|
||||
|
||||
|
@ -75,7 +74,7 @@ class Chef {
|
|||
|
||||
return {
|
||||
dish: rawDish,
|
||||
result: await this.dish.get(returnType, notUTF8),
|
||||
result: await this.dish.get(returnType),
|
||||
type: Dish.enumLookup(this.dish.type),
|
||||
progress: progress,
|
||||
duration: Date.now() - startTime,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue