Skip to content

Commit

Permalink
Merge branch 'main' into dandi-api-key-instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyCBakerPhD authored Sep 14, 2023
2 parents 37e1090 + e0a2490 commit 31a3032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ let globals: {
},

set mainWindowReady(v) {
if (globals.mainWindow) throw new Error('Main window cannot be ready. It does not exist...')
if (!globals.mainWindow) throw new Error('Main window cannot be ready. It does not exist...')
mainWindowReady = v
if (v) readyQueue.forEach(f => onWindowReady(f))
readyQueue = []
Expand Down

0 comments on commit 31a3032

Please sign in to comment.