Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rebelvg committed Dec 2, 2020
1 parent 4d16be0 commit 953e1ad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions api/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function createWindow(): void {
icon: iconPath,
webPreferences: {
nodeIntegration: true,
enableRemoteModule: true
enableRemoteModule: true,
},
});

Expand Down Expand Up @@ -119,7 +119,7 @@ function createWindow(): void {
config.saveFile();
});

mainWindow.on('close', e => {
mainWindow.on('close', (e) => {
addLogs('forceQuit', forceQuit);

if (forceQuit) {
Expand Down Expand Up @@ -250,13 +250,13 @@ app.on('ready', () => {
}
});

process.on('unhandledRejection', err => {
process.on('unhandledRejection', (err) => {
addLogs('unhandledRejection', err);

throw err;
});

process.on('uncaughtException', err => {
process.on('uncaughtException', (err) => {
addLogs('uncaughtException', err);

fs.appendFileSync(crashLogPath, `${err.stack}${os.EOL}`);
Expand Down

0 comments on commit 953e1ad

Please sign in to comment.