mirror of
https://github.com/gchq/CyberChef
synced 2025-12-15 07:43:22 +00:00
Merge branch 'master' of github.com:gchq/CyberChef into node-lib
This commit is contained in:
@@ -182,7 +182,7 @@ class Dish {
|
||||
this.value = this.value instanceof BigNumber ? Utils.strToByteArray(this.value.toFixed()) : [];
|
||||
break;
|
||||
case Dish.JSON:
|
||||
this.value = this.value ? Utils.strToByteArray(JSON.stringify(this.value)) : [];
|
||||
this.value = this.value ? Utils.strToByteArray(JSON.stringify(this.value, null, 4)) : [];
|
||||
break;
|
||||
case Dish.FILE:
|
||||
this.value = await Utils.readFile(this.value);
|
||||
|
||||
Reference in New Issue
Block a user