Skip unnecessary auth type check when using --link

This commit is contained in:
Asher 2020-11-03 14:30:34 -06:00
parent 8a9e61defb
commit 3a074fd844
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A
1 changed files with 1 additions and 4 deletions

View File

@ -425,10 +425,7 @@ export async function setDefaults(cliArgs: Args, configArgs?: ConfigArgs): Promi
args.port = 0
args.socket = undefined
args.cert = undefined
if (args.auth !== AuthType.None) {
args.auth = AuthType.None
}
args.auth = AuthType.None
}
if (args.cert && !args.cert.value) {