Skip to content

Commit c3287eb

Browse files
committed
lint
1 parent 5e4e795 commit c3287eb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/util.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { lookup } from "dns"
22
import ipRangeCheck from "ip-range-check"
3-
import { ssh } from "node-forge"
43
import * as os from "os"
54
import url from "url"
65
import { promisify } from "util"
@@ -31,9 +30,9 @@ export function parseRemoteAuthority(authority: string): AuthorityParts | null {
3130
const authorityParts = authority.split("@")
3231
let containerNameHex = undefined
3332
let sshAuthority
34-
if (authorityParts.length == 1) {
33+
if (authorityParts.length === 1) {
3534
sshAuthority = authorityParts[0]
36-
} else if (authorityParts.length == 2 && authorityParts[0].includes("attached-container+")) {
35+
} else if (authorityParts.length === 2 && authorityParts[0].includes("attached-container+")) {
3736
sshAuthority = authorityParts[1]
3837
containerNameHex = authorityParts[0].split("+")[1]
3938
} else {

0 commit comments

Comments
 (0)