summaryrefslogtreecommitdiff
path: root/cli/bench/http/deno_http_flash_ops.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli/bench/http/deno_http_flash_ops.js')
-rw-r--r--cli/bench/http/deno_http_flash_ops.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/cli/bench/http/deno_http_flash_ops.js b/cli/bench/http/deno_http_flash_ops.js
index 1ef2f65ed..7b024f9af 100644
--- a/cli/bench/http/deno_http_flash_ops.js
+++ b/cli/bench/http/deno_http_flash_ops.js
@@ -3,12 +3,10 @@
// deno-lint-ignore-file
const {
- core: {
- opAsync,
- ops: { op_flash_make_request, op_flash_serve },
- encode,
- },
-} = Deno;
+ opAsync,
+ ops: { op_flash_make_request, op_flash_serve },
+ encode,
+} = Deno[Deno.internal].core;
const addr = Deno.args[0] || "127.0.0.1:4500";
const [hostname, port] = addr.split(":");
const serverId = op_flash_serve({ hostname, port, reuseport: true });