Skip to content

Commit 0aee702

Browse files
authored
Fixes extension activation fail after upgrade with Error: Cannot find module 'vscode' (microsoft#187090)
Fixes microsoft#185733
1 parent eeed165 commit 0aee702

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vs/workbench/api/common/extHostExtensionService.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,8 @@ export abstract class AbstractExtHostExtensionService extends Disposable impleme
966966

967967
public $activateByEvent(activationEvent: string, activationKind: ActivationKind): Promise<void> {
968968
if (activationKind === ActivationKind.Immediate) {
969-
return this._activateByEvent(activationEvent, false);
969+
return this._almostReadyToRunExtensions.wait()
970+
.then(_ => this._activateByEvent(activationEvent, false));
970971
}
971972

972973
return (

0 commit comments

Comments
 (0)