app.update implementation part 2
This commit is contained in:
1 parent
526684fea0
commit
bf07bf9af1
3 files changed
+85
-24
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user