We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 462c747 + fa1f137 commit ac8d04eCopy full SHA for ac8d04e
src/background/autoUpdate.js
@@ -121,7 +121,7 @@ function checkForUpdates () {
121
updateFile.autoUpdate = autoUpdate;
122
userDataDir.write(updateStoreFile, updateFile, { atomic: true });
123
} else if (autoUpdate === 'auto') {
124
- e.returnValue = updateFile.autoUpdate;
+ e.returnValue = !!updateFile.autoUpdate;
125
} else {
126
checkForUpdatesEvent = e;
127
autoUpdater.checkForUpdates();
0 commit comments