mirror of
https://github.com/coder/code-server.git
synced 2026-11-24 11:58:47 +08:00
Formatting and linting fixes
This commit is contained in:
4 files changed
+18
-15
No files matched your search
+1
-1
@@ -64,7 +64,7 @@ export class HttpServer {
|
||||
|
||||
public port(): number {
|
||||
const addr = this.hs.address()
|
||||
if (addr && typeof addr == "object") {
|
||||
if (addr && typeof addr === "object") {
|
||||
return addr.port
|
||||
}
|
||||
throw new Error("server not listening or listening on unix socket")
|
||||
|
||||
Reference in new issue
Block a user