File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packages/compass/src/main Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -106,10 +106,6 @@ class CompassApplication {
106106 safeStorage . setUsePlainTextEncryption ( true ) ;
107107 }
108108
109- process . stdout . write ( 'before first app.whenReady\n' ) ;
110- await app . whenReady ( ) ;
111- process . stdout . write ( 'after first app.whenReady\n' ) ;
112-
113109 process . stdout . write ( 'before setupPreferencesAndUser\n' ) ;
114110 const { preferences } = await setupPreferencesAndUser (
115111 globalPreferences ,
Original file line number Diff line number Diff line change @@ -29,6 +29,10 @@ process.title = app.getName();
2929void main ( ) ;
3030
3131async function main ( ) : Promise < void > {
32+ process . stdout . write ( 'before first app.whenReady\n' ) ;
33+ await app . whenReady ( ) ;
34+ process . stdout . write ( 'after first app.whenReady\n' ) ;
35+
3236 const globalPreferences = await parseAndValidateGlobalPreferences ( ) ;
3337
3438 // These are expected to go away at some point.
You can’t perform that action at this time.
0 commit comments