Skip to content

Commit 6dcaf9a

Browse files
committed
💄 reduce diff
1 parent e71c429 commit 6dcaf9a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/vs/workbench/electron-sandbox/window.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -842,8 +842,7 @@ export class NativeWindow extends Disposable {
842842
const remoteAuthority = this.environmentService.remoteAuthority;
843843
const addressProvider: IAddressProvider | undefined = remoteAuthority ? {
844844
getAddress: async (): Promise<IAddress> => {
845-
const { authority } = await this.remoteAuthorityResolverService.resolveAuthority(remoteAuthority);
846-
return { connectTo: authority.connectTo, connectionToken: authority.connectionToken };
845+
return (await this.remoteAuthorityResolverService.resolveAuthority(remoteAuthority)).authority;
847846
}
848847
} : undefined;
849848
let tunnel = await this.tunnelService.getExistingTunnel(portMappingRequest.address, portMappingRequest.port);

src/vs/workbench/services/remote/electron-sandbox/remoteAgentService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ import { IRemoteSocketFactoryService } from 'vs/platform/remote/common/remoteSoc
2424

2525
export class RemoteAgentService extends AbstractRemoteAgentService implements IRemoteAgentService {
2626
constructor(
27-
@IRemoteSocketFactoryService socketFactoryCollection: IRemoteSocketFactoryService,
27+
@IRemoteSocketFactoryService remoteSocketFactoryService: IRemoteSocketFactoryService,
2828
@IUserDataProfileService userDataProfileService: IUserDataProfileService,
2929
@IWorkbenchEnvironmentService environmentService: IWorkbenchEnvironmentService,
3030
@IProductService productService: IProductService,
3131
@IRemoteAuthorityResolverService remoteAuthorityResolverService: IRemoteAuthorityResolverService,
3232
@ISignService signService: ISignService,
3333
@ILogService logService: ILogService,
3434
) {
35-
super(socketFactoryCollection, userDataProfileService, environmentService, productService, remoteAuthorityResolverService, signService, logService);
35+
super(remoteSocketFactoryService, userDataProfileService, environmentService, productService, remoteAuthorityResolverService, signService, logService);
3636
}
3737
}
3838

0 commit comments

Comments
 (0)