mirror of
https://github.com/gchq/CyberChef.git
synced 2024-11-02 14:11:02 +01:00
Actually need to return the translation
This commit is contained in:
parent
d51e8ec378
commit
1a9c9a5ddf
@ -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 New Issue
Block a user