Update app.ts

This commit is contained in:
Eugene Pankov
2022-04-15 21:30:03 +02:00
parent 763bb2c7aa
commit ba7571248c

View File

@@ -218,7 +218,7 @@ export class Application {
} }
} }
handleSecondInstance (argv: string[], cwd: string): void { async handleSecondInstance (argv: string[], cwd: string): Promise<void> {
if (!this.windows.length) { if (!this.windows.length) {
await this.newWindow() await this.newWindow()
} }