File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/vs/workbench/contrib/remote/browser Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -162,12 +162,12 @@ export class RemoteStartEntry extends Disposable implements IWorkbenchContributi
162
162
}
163
163
164
164
private registerListeners ( ) : void {
165
- this . _register ( this . extensionManagementService . onDidInstallExtensions ( async ( result ) => {
166
- for ( const ext of result ) {
167
- const index = this . remoteExtensionMetadata . findIndex ( value => ExtensionIdentifier . equals ( value . id , ext . identifier . id ) ) ;
165
+ this . _register ( this . extensionService . onDidChangeExtensions ( async ( result ) => {
166
+ for ( const ext of result . added ) {
167
+ const index = this . remoteExtensionMetadata . findIndex ( value => ExtensionIdentifier . equals ( value . id , ext . identifier ) ) ;
168
168
if ( index > - 1 ) {
169
169
this . remoteExtensionMetadata [ index ] . installed = true ;
170
- this . remoteExtensionMetadata [ index ] . remoteCommands = await this . getRemoteCommands ( ext . identifier . id ) ;
170
+ this . remoteExtensionMetadata [ index ] . remoteCommands = await this . getRemoteCommands ( ext . identifier . value ) ;
171
171
}
172
172
}
173
173
} ) ) ;
You can’t perform that action at this time.
0 commit comments