summaryrefslogtreecommitdiff
path: root/ext/websocket/01_websocket.js
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-09-07 08:09:16 -0500
committerGitHub <noreply@github.com>2023-09-07 09:09:16 -0400
commit3fc19dab47492e06043fc7add28e64693a4eb775 (patch)
tree855e952933662aef37bd20c084901ae0e488b2db /ext/websocket/01_websocket.js
parent01a761f1d4f7ff4943fbf80464a276b434d8a8f7 (diff)
feat: support import attributes (#20342)
Diffstat (limited to 'ext/websocket/01_websocket.js')
-rw-r--r--ext/websocket/01_websocket.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/websocket/01_websocket.js b/ext/websocket/01_websocket.js
index bb1624f22..5f0f648a7 100644
--- a/ext/websocket/01_websocket.js
+++ b/ext/websocket/01_websocket.js
@@ -1,6 +1,5 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
-// deno-lint-ignore-file camelcase
/// <reference path="../../core/internal.d.ts" />
const core = globalThis.Deno.core;
@@ -46,8 +45,7 @@ const {
SymbolFor,
TypedArrayPrototypeGetByteLength,
} = primordials;
-const op_ws_check_permission_and_cancel_handle =
- core.ops.op_ws_check_permission_and_cancel_handle;
+const { op_ws_check_permission_and_cancel_handle } = core.ops;
const {
op_ws_create,
op_ws_close,