Skip to content

Commit 8f1f433

Browse files
committed
Update startup function
1 parent f9737bd commit 8f1f433

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/vscode/src/workbench.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export class Workbench {
171171
// If we try to import this above, workbench will be undefined due to
172172
// circular imports.
173173
require("vs/workbench/workbench.main");
174-
const { startup } = require("vs/workbench/electron-browser/main");
174+
const { main } = require("vs/workbench/electron-browser/main");
175175
const config: IWindowConfiguration = {
176176
machineId: "1",
177177
windowId: this.windowId,
@@ -189,7 +189,7 @@ export class Workbench {
189189
} else {
190190
config.folderUri = workspace as URI;
191191
}
192-
await startup(config);
192+
await main(config);
193193
const contextKeys = this.serviceCollection.get(IContextKeyService) as IContextKeyService;
194194
const bounded = this.clipboardContextKey.bindTo(contextKeys);
195195
client.clipboard.onPermissionChange((enabled) => {

0 commit comments

Comments
 (0)