Formatting and linting fixes

This commit is contained in:
Anmol Sethi committed 2021-01-20 02:06:44 -05:00
1 parent 60233d0974
commit 5c06646f58
4 files changed
+18 -15

No files matched your search

+1 -1
View File
@@ -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")