Skip to content

Commit

Permalink
Merge pull request #282 from VirgilClyne/master
Browse files Browse the repository at this point in the history
  • Loading branch information
geekdada authored Nov 15, 2024
2 parents 2b51b4f + 805b93e commit eb808d8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/utils/surfboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ function nodeListMapper(
'https',
nodeConfig.hostname,
nodeConfig.port,
nodeConfig.username,
nodeConfig.password,
nodeConfig.username /* istanbul ignore next */ || '',
nodeConfig.password /* istanbul ignore next */ || '',
...(typeof nodeConfig.skipCertVerify === 'boolean'
? [`skip-cert-verify=${nodeConfig.skipCertVerify}`]
: []),
Expand All @@ -109,8 +109,8 @@ function nodeListMapper(
'http',
nodeConfig.hostname,
nodeConfig.port,
nodeConfig.username,
nodeConfig.password,
nodeConfig.username /* istanbul ignore next */ || '',
nodeConfig.password /* istanbul ignore next */ || '',
].join(', '),
].join(' = '),
]
Expand Down
8 changes: 4 additions & 4 deletions src/utils/surge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ function nodeListMapper(
'https',
nodeConfig.hostname,
nodeConfig.port,
nodeConfig.username,
nodeConfig.password,
nodeConfig.username /* istanbul ignore next */ || '',
nodeConfig.password /* istanbul ignore next */ || '',
].join(', '),
].join(' = '),
]
Expand All @@ -202,8 +202,8 @@ function nodeListMapper(
'http',
nodeConfig.hostname,
nodeConfig.port,
nodeConfig.username,
nodeConfig.password,
nodeConfig.username /* istanbul ignore next */ || '',
nodeConfig.password /* istanbul ignore next */ || '',
].join(', '),
].join(' = '),
]
Expand Down

0 comments on commit eb808d8

Please sign in to comment.