mirror of
https://github.com/gchq/CyberChef
synced 2025-01-09 02:58: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 {
|
try {
|
||||||
toByteArrayFuncs[Utils.isNode() && "node" || "browser"][this.type]();
|
return toByteArrayFuncs[Utils.isNode() && "node" || "browser"][this.type]();
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
throw new DishError(`Error translating from ${Dish.enumLookup(this.type)} to ArrayBuffer: ${err}`);
|
throw new DishError(`Error translating from ${Dish.enumLookup(this.type)} to ArrayBuffer: ${err}`);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue