Don't return anything from will-quit handler
This commit is contained in:
parent
6252511b7f
commit
adfa4844d1
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ app.on('will-quit', function() {
|
|||
} catch (error) {
|
||||
// Ignore error
|
||||
}
|
||||
return fs.writeFileSync(loadedExtensionsPath, JSON.stringify(loadedExtensions));
|
||||
fs.writeFileSync(loadedExtensionsPath, JSON.stringify(loadedExtensions));
|
||||
} else {
|
||||
fs.unlinkSync(loadedExtensionsPath);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue