Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc3287eb

Browse files
committed
lint
1 parent5e4e795 commitc3287eb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎src/util.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import{lookup}from"dns"
22
importipRangeCheckfrom"ip-range-check"
3-
import{ssh}from"node-forge"
43
import*asosfrom"os"
54
importurlfrom"url"
65
import{promisify}from"util"
@@ -31,9 +30,9 @@ export function parseRemoteAuthority(authority: string): AuthorityParts | null {
3130
constauthorityParts=authority.split("@")
3231
letcontainerNameHex=undefined
3332
letsshAuthority
34-
if(authorityParts.length==1){
33+
if(authorityParts.length===1){
3534
sshAuthority=authorityParts[0]
36-
}elseif(authorityParts.length==2&&authorityParts[0].includes("attached-container+")){
35+
}elseif(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)

[8]ページ先頭

©2009-2025 Movatter.jp