File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ export class Workbench {
171
171
// If we try to import this above, workbench will be undefined due to
172
172
// circular imports.
173
173
require ( "vs/workbench/workbench.main" ) ;
174
- const { startup } = require ( "vs/workbench/electron-browser/main" ) ;
174
+ const { main } = require ( "vs/workbench/electron-browser/main" ) ;
175
175
const config : IWindowConfiguration = {
176
176
machineId : "1" ,
177
177
windowId : this . windowId ,
@@ -189,7 +189,7 @@ export class Workbench {
189
189
} else {
190
190
config . folderUri = workspace as URI ;
191
191
}
192
- await startup ( config ) ;
192
+ await main ( config ) ;
193
193
const contextKeys = this . serviceCollection . get ( IContextKeyService ) as IContextKeyService ;
194
194
const bounded = this . clipboardContextKey . bindTo ( contextKeys ) ;
195
195
client . clipboard . onPermissionChange ( ( enabled ) => {
You can’t perform that action at this time.
0 commit comments