Skip to content

Commit 79c4092

Browse files
authored
Register with editorResolver before attempting to open walkthrough (microsoft#184969)
1 parent 6e45786 commit 79c4092

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/workbench/contrib/welcomeGettingStarted/browser/startupPage.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ export class StartupPageContribution implements IWorkbenchContribution {
5555
@INotificationService private readonly notificationService: INotificationService,
5656
@IEditorResolverService editorResolverService: IEditorResolverService
5757
) {
58-
this.run().then(undefined, onUnexpectedError);
59-
6058
editorResolverService.registerEditor(
6159
`${GettingStartedInput.RESOURCE.scheme}:/**`,
6260
{
@@ -80,6 +78,8 @@ export class StartupPageContribution implements IWorkbenchContribution {
8078
}
8179
}
8280
);
81+
82+
this.run().then(undefined, onUnexpectedError);
8383
}
8484

8585
private async run() {

0 commit comments

Comments
 (0)