summary refs log tree commit diff
path: root/gateway/src/events/Connection.ts
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2022-07-18 18:30:53 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2022-08-09 23:28:27 +0200
commite536fb2f72e4883979b451b60b12c44f5f94313c (patch)
tree9c7fccb12c5aeec560d3c223a3b6e969e8d95cd9 /gateway/src/events/Connection.ts
parentUpdate User.ts (diff)
downloadserver-e536fb2f72e4883979b451b60b12c44f5f94313c.tar.xz
replace all var with let (reduces warnings)
Diffstat (limited to '')
-rw-r--r--gateway/src/events/Connection.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/gateway/src/events/Connection.ts b/gateway/src/events/Connection.ts

index 4954cd08..c1bb73b6 100644 --- a/gateway/src/events/Connection.ts +++ b/gateway/src/events/Connection.ts
@@ -8,7 +8,7 @@ import { Close } from "./Close"; import { Message } from "./Message"; import { createDeflate } from "zlib"; import { URL } from "url"; -var erlpack: any; +let erlpack: any; try { erlpack = require("@yukikaze-bot/erlpack"); } catch (error) {}