aboutsummaryrefslogtreecommitdiff
path: root/src/js/thirdparty/ws.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/thirdparty/ws.js')
-rw-r--r--src/js/thirdparty/ws.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/thirdparty/ws.js b/src/js/thirdparty/ws.js
index e88ae6769..722d37347 100644
--- a/src/js/thirdparty/ws.js
+++ b/src/js/thirdparty/ws.js
@@ -79,7 +79,7 @@ class BunWebSocket extends EventEmitter {
}
});
} else if (event === "error") {
- this.#ws.addEventListener("error", (err) => {
+ this.#ws.addEventListener("error", err => {
this.emit("error", err);
});
} else if (event === "ping") {