Skip to content

Commit 3a074fd

Browse files
committed
Skip unnecessary auth type check when using --link
1 parent 8a9e61d commit 3a074fd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/node/cli.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -425,10 +425,7 @@ export async function setDefaults(cliArgs: Args, configArgs?: ConfigArgs): Promi
425425
args.port = 0
426426
args.socket = undefined
427427
args.cert = undefined
428-
429-
if (args.auth !== AuthType.None) {
430-
args.auth = AuthType.None
431-
}
428+
args.auth = AuthType.None
432429
}
433430

434431
if (args.cert && !args.cert.value) {

0 commit comments

Comments
 (0)