summaryrefslogtreecommitdiff
path: root/cli/rt/20_blob.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli/rt/20_blob.js')
-rw-r--r--cli/rt/20_blob.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/rt/20_blob.js b/cli/rt/20_blob.js
index 5b0ef349e..f7309dafb 100644
--- a/cli/rt/20_blob.js
+++ b/cli/rt/20_blob.js
@@ -151,7 +151,7 @@
bytes.set(chunk, offs);
offs += chunk.byteLength;
}
- return bytes;
+ return bytes.buffer;
} else {
throw new TypeError("Invalid reader result.");
}