summaryrefslogtreecommitdiff
path: root/cli/bench/http/deno_flash_send_file.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli/bench/http/deno_flash_send_file.js')
-rw-r--r--cli/bench/http/deno_flash_send_file.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/bench/http/deno_flash_send_file.js b/cli/bench/http/deno_flash_send_file.js
index 261f5a207..db2ad7a82 100644
--- a/cli/bench/http/deno_flash_send_file.js
+++ b/cli/bench/http/deno_flash_send_file.js
@@ -7,7 +7,7 @@ const { serve } = Deno;
const path = new URL("../testdata/128k.bin", import.meta.url).pathname;
function handler() {
- const file = Deno.openSync(path, { read: true });
+ const file = Deno.openSync(path);
return new Response(file.readable);
}