mirror of
https://github.com/electron/electron.git
synced 2026-01-24 14:57:58 -05:00
Don't return anything from will-quit handler
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user