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:
authorMartin Aeschlimann <martinae@microsoft.com>2022-01-21 19:19:52 +0300
committerMartin Aeschlimann <martinae@microsoft.com>2022-01-21 19:19:52 +0300
commitef4549b141911a3dbad90c6ed67c6e03e5a8e931 (patch)
tree5b117eef9ba89fffd9651a1d906c4f19dc9b3082 /scripts
parentd46ed369512cc513866870e0f15ecdce473583f4 (diff)
parent79981da8e24357bad94366eedea6da1f30e4e4fe (diff)
Merge branch 'main' into aeschli/noremoteindicatorweb
Diffstat (limited to 'scripts')
-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 4ee2e88abc8..287b229bdda 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['no-connection-token']) {
+if (args['launch'] && args['connection-token'] === undefined && args['connection-token-file'] === undefined && !args['without-connection-token']) {
serverArgs.push('--connection-token', TOKEN);
}
if (args['host'] === undefined) {