Don't return anything from will-quit handler

This commit is contained in:
Kevin Sawicki 2016-02-03 17:15:28 -08:00
parent 6252511b7f
commit adfa4844d1

View file

@ -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);
}