refactor: fix eslint no-useless-assignment preserve-caught-error (#6276)

This commit is contained in:
Sline
2026-02-08 05:19:41 +00:00
committed by GitHub
parent cad1c983e1
commit 7730cd1c5b
5 changed files with 12 additions and 17 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ export function URI_VLESS(line: string): IProxyVlessConfig {
}
let httpupgrade = false;
let network: NetworkType = "tcp";
let network: NetworkType;
if (params.headerType === "http") {
network = "http";