mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-20 10:19:02 +00:00
update @vscode/test-web
This commit is contained in:
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user