windows - remove not needed and confusing disable-restore-windows CLI arg

This commit is contained in:
Benjamin Pasero
2020-10-01 11:36:45 +02:00
parent 35d4bbf592
commit 781e0e3192
5 changed files with 2 additions and 5 deletions
-1
View File
@@ -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 () {