Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/code-server.js')
-rw-r--r--scripts/code-server.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/code-server.js b/scripts/code-server.js
index 287b229bdda..ec2fd65ec7f 100644
--- a/scripts/code-server.js
+++ b/scripts/code-server.js
@@ -40,7 +40,7 @@ const HOST = args['host'] ?? 'localhost';
const PORT = args['port'] ?? '9888';
const TOKEN = args['connection-token'] ?? String(crypto.randomInt(0xffffffff));
-if (args['launch'] && args['connection-token'] === undefined && args['connection-token-file'] === undefined && !args['without-connection-token']) {
+if (args['connection-token'] === undefined && args['connection-token-file'] === undefined && !args['without-connection-token']) {
serverArgs.push('--connection-token', TOKEN);
}
if (args['host'] === undefined) {