app.update implementation part 2

This commit is contained in:
Luis Fernando Molina committed 2021-01-12 10:04:28 +01:00
1 parent 526684fea0
commit bf07bf9af1
3 files changed
+85 -24

No files matched your search

+2 -2
View File
@@ -661,9 +661,9 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
await git.pull((err, update) => {
if (update) {
if (update.summary.changes) {
return 'App Changed'
return 'New Version Found'
} else {
return 'App Not Changed'
return 'Already Up-To-Date'
}
} else {
if (err) {