Pārlūkot izejas kodu

Actually need to return the translation

d98762625 6 gadi atpakaļ
vecāks
revīzija
1a9c9a5ddf
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/core/Dish.mjs

+ 1 - 1
src/core/Dish.mjs

@@ -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}`);
         }