Skip to content

Commit a356803

Browse files
committed
Revert "remoteAgentConnection: await import('vsda')"
This reverts commit 01f3f61.
1 parent 01f3f61 commit a356803

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

src/vs/platform/remote/common/remoteAgentConnection.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ async function connectToRemoteExtensionHostAgent(options: ISimpleConnectionOptio
9292

9393
return new Promise<PersistentProtocol>((c, e) => {
9494

95-
const messageRegistration = protocol.onControlMessage(async raw => {
95+
const messageRegistration = protocol.onControlMessage(raw => {
9696
const msg = <HandshakeMessage>JSON.parse(raw.toString());
9797
// Stop listening for further events
9898
messageRegistration.dispose();
@@ -107,7 +107,7 @@ async function connectToRemoteExtensionHostAgent(options: ISimpleConnectionOptio
107107
let signed = msg.data;
108108
if (platform.isNative) {
109109
try {
110-
const vsda = await import('vsda');
110+
const vsda = <any>require.__$__nodeRequire('vsda');
111111
const signer = new vsda.signer();
112112
if (signer) {
113113
signed = signer.sign(msg.data);

tslint.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@
153153
"restrictions": [
154154
"vs/nls",
155155
"**/vs/base/common/**",
156-
"vsda",
157156
"**/vs/base/parts/*/common/**",
158157
"**/vs/platform/*/common/**"
159158
]
@@ -593,4 +592,4 @@
593592
"no-nls-in-standalone-editor": true
594593
},
595594
"defaultSeverity": "warning"
596-
}
595+
}

0 commit comments

Comments
 (0)