Do not force that a connection token CLI argument is present

This commit is contained in:
Alex Dima
2022-01-24 13:59:56 +01:00
parent f1cdd2bcf4
commit 81ad1f968d
3 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -104,5 +104,5 @@ export function parseServerConnectionToken(args: ServerParsedArgs): ServerConnec
return new OptionalServerConnectionToken(generateUuid());
}
return new ServerConnectionTokenParseError(`Please use one of the following arguments: '--connection-token', '--connection-token-file' or '--without-connection-token'.`);
return new MandatoryServerConnectionToken(generateUuid());
}