update @vscode/test-web

This commit is contained in:
Martin Aeschlimann
2022-02-03 11:26:53 +01:00
parent 9dc211a499
commit 923b583d55
3 changed files with 42 additions and 27 deletions

View File

@@ -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'));