mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-24 09:21:35 +01:00
Do not force that a connection token CLI argument is present
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user