mirror of
https://github.com/gchq/CyberChef
synced 2025-12-14 23:33:25 +00:00
Actually need to return the translation
This commit is contained in:
@@ -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}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user