提交 a356803e 编写于 作者: I isidor

Revert "remoteAgentConnection: await import('vsda')"

This reverts commit 01f3f612.
上级 01f3f612
......@@ -92,7 +92,7 @@ async function connectToRemoteExtensionHostAgent(options: ISimpleConnectionOptio
return new Promise<PersistentProtocol>((c, e) => {
const messageRegistration = protocol.onControlMessage(async raw => {
const messageRegistration = protocol.onControlMessage(raw => {
const msg = <HandshakeMessage>JSON.parse(raw.toString());
// Stop listening for further events
messageRegistration.dispose();
......@@ -107,7 +107,7 @@ async function connectToRemoteExtensionHostAgent(options: ISimpleConnectionOptio
let signed = msg.data;
if (platform.isNative) {
try {
const vsda = await import('vsda');
const vsda = <any>require.__$__nodeRequire('vsda');
const signer = new vsda.signer();
if (signer) {
signed = signer.sign(msg.data);
......
......@@ -153,7 +153,6 @@
"restrictions": [
"vs/nls",
"**/vs/base/common/**",
"vsda",
"**/vs/base/parts/*/common/**",
"**/vs/platform/*/common/**"
]
......@@ -593,4 +592,4 @@
"no-nls-in-standalone-editor": true
},
"defaultSeverity": "warning"
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册