提交 162f9a87 编写于 作者: M Martin Aeschlimann

When reopen code from WSL2, previous open tabs are not restored. Fixes #107111

上级 da243dae
......@@ -689,8 +689,8 @@ export class CodeApplication extends Disposable {
});
}
// new window if "-n" or "--remote" was used without paths
if ((args['new-window'] || args.remote) && !hasCliArgs && !hasFolderURIs && !hasFileURIs) {
// new window if "-n"
if (args['new-window'] && !hasCliArgs && !hasFolderURIs && !hasFileURIs) {
return windowsMainService.open({
context,
cli: args,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册