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-02-03 13:26:53 +0300
committerMartin Aeschlimann <martinae@microsoft.com>2022-02-03 13:55:20 +0300
commit923b583d556e7ea767b9e70c49b3ea128c8900f7 (patch)
tree7738a60397e22ea5f82ab974c7f14f03e6dee190 /scripts
parent9dc211a499b343662532f174309faae64a7331cf (diff)
update @vscode/test-web
Diffstat (limited to 'scripts')
-rw-r--r--scripts/code-web.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/scripts/code-web.js b/scripts/code-web.js
index f12e6b9d34e..52c60dce5c6 100644
--- a/scripts/code-web.js
+++ b/scripts/code-web.js
@@ -34,6 +34,7 @@ async function main() {
'host',
'port',
'extensionPath',
+ 'browser',
'browserType'
],
});
@@ -66,15 +67,11 @@ async function main() {
}
let openSystemBrowser = false;
- if (!args['browserType']) {
- serverArgs.push('--browserType', 'none');
+ if (!args['browser'] && !args['browserType']) {
+ serverArgs.push('--browser', 'none');
openSystemBrowser = true;
}
- if (!args['verbose'] && args['hideServerLog'] === undefined) {
- serverArgs.push('--hideServerLog');
- }
-
serverArgs.push('--sourcesPath', APP_ROOT);
serverArgs.push(...process.argv.slice(2).filter(v => v !== '--playground'));