mirror of
https://github.com/gchq/CyberChef
synced 2025-01-08 10:38:46 +00:00
Actually need to return the translation
This commit is contained in:
parent
d51e8ec378
commit
1a9c9a5ddf
1 changed files with 1 additions and 1 deletions
|
@ -404,7 +404,7 @@ class Dish {
|
|||
};
|
||||
|
||||
try {
|
||||
toByteArrayFuncs[Utils.isNode() && "node" || "browser"][this.type]();
|
||||
return toByteArrayFuncs[Utils.isNode() && "node" || "browser"][this.type]();
|
||||
} catch (err) {
|
||||
throw new DishError(`Error translating from ${Dish.enumLookup(this.type)} to ArrayBuffer: ${err}`);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue