Return error object instead of false

This commit is contained in:
Girish Ramakrishnan
2017-07-31 11:57:23 -07:00
parent ae54b57ca7
commit bd52068695
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -208,7 +208,7 @@ function autoupdatePatternChanged(pattern) {
}
} else if (updateInfo.apps) {
debug('Starting app update to %j', updateInfo.apps);
apps.updateApps(updateInfo.apps, AUDIT_SOURCE, NOOP_CALLBACK);
apps.autoupdateApps(updateInfo.apps, AUDIT_SOURCE, NOOP_CALLBACK);
} else {
debug('No auto updates available');
}