File tree Expand file tree Collapse file tree
src/vs/platform/remote/common Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ) ;
Original file line number Diff line number Diff line change 153153 "restrictions" : [
154154 " vs/nls" ,
155155 " **/vs/base/common/**" ,
156- " vsda" ,
157156 " **/vs/base/parts/*/common/**" ,
158157 " **/vs/platform/*/common/**"
159158 ]
593592 "no-nls-in-standalone-editor" : true
594593 },
595594 "defaultSeverity" : " warning"
596- }
595+ }
You can’t perform that action at this time.
0 commit comments