Logging: fix notation of proxy URL (#3615)

This commit is contained in:
TomWis97
2023-04-07 13:19:04 +02:00
committed by GitHub
parent e87204b92c
commit 9ebbcc3701
2 changed files with 4 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ module.exports = function (log) {
const proxyAuth = proxy.username && proxy.password
? `${decodeURIComponent(proxy.username)}:${decodeURIComponent(proxy.password)}`
: null;
log(`Via proxy ${proxy.protocol}://${proxy.hostname}:${proxy.port} ${proxyAuth ? 'with' : 'no'} credentials`);
log(`Via proxy ${proxy.protocol}//${proxy.hostname}:${proxy.port} ${proxyAuth ? 'with' : 'no'} credentials`);
return tunnel({
proxy: {
port: Number(proxy.port),