mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
windows - remove not needed and confusing disable-restore-windows CLI arg
This commit is contained in:
@@ -141,7 +141,6 @@ export async function spawn(options: SpawnOptions): Promise<Code> {
|
||||
'--disable-crash-reporter',
|
||||
`--extensions-dir=${options.extensionsPath}`,
|
||||
`--user-data-dir=${options.userDataDir}`,
|
||||
`--disable-restore-windows`,
|
||||
'--driver', handle
|
||||
];
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ export function setup() {
|
||||
|
||||
// restart with preventing additional windows from restoring
|
||||
// to ensure the window after restart is the multi-root workspace
|
||||
await app.restart({ workspaceOrFolder: workspaceFilePath, extraArgs: ['--disable-restore-windows'] });
|
||||
await app.restart({ workspaceOrFolder: workspaceFilePath });
|
||||
});
|
||||
|
||||
it('shows results from all folders', async function () {
|
||||
|
||||
Reference in New Issue
Block a user