提交 3fc698a8 编写于 作者: J Joao Moreno

fix strict null checks in remoteAgentServiceImpl

上级 f2c03b4a
......@@ -61,7 +61,7 @@ class RemoteAgentConnection extends Disposable implements IRemoteAgentConnection
// Let's cover the case where connecting to fetch the remote extension info fails
this._environment = client.getEnvironmentData(this.remoteAuthority, this._environmentService.extensionDevelopmentLocationURI)
.then(null, err => { this._notificationService.error(localize('connectionError', "Failed to connect to the remote extension host agent (Error: {0})", err ? err.message : '')); return null; });
.then(undefined, err => { this._notificationService.error(localize('connectionError', "Failed to connect to the remote extension host agent (Error: {0})", err ? err.message : '')); return null; });
}
return this._environment;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册