From 3a074fd84460cab04d740bf4651da671fd0f4fac Mon Sep 17 00:00:00 2001 From: Asher Date: Tue, 3 Nov 2020 14:30:34 -0600 Subject: [PATCH] Skip unnecessary auth type check when using --link --- src/node/cli.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/node/cli.ts b/src/node/cli.ts index 45aed304..fcb74d80 100644 --- a/src/node/cli.ts +++ b/src/node/cli.ts @@ -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) {