log: do not show app update message for no updates
This commit is contained in:
@@ -32,8 +32,8 @@ function loadState() {
|
||||
return state || { };
|
||||
}
|
||||
|
||||
function saveState(mailedUser) {
|
||||
safe.fs.writeFileSync(paths.UPDATE_CHECKER_FILE, JSON.stringify(mailedUser, null, 4), 'utf8');
|
||||
function saveState(state) {
|
||||
safe.fs.writeFileSync(paths.UPDATE_CHECKER_FILE, JSON.stringify(state, null, 4), 'utf8');
|
||||
}
|
||||
|
||||
function getUpdateInfo() {
|
||||
|
||||
Reference in New Issue
Block a user