Skip to content

Commit

Permalink
added check to push and pull
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandanzl committed Feb 12, 2024
1 parent 4b9aaff commit 4766faa
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -601,8 +601,9 @@ setLiveSync(){
this.operations.downloadFiles(this.webdavClient, this.fileTrees.webdavFiles.except, this.baseWebdav)
]);
}
this.finished()
// this.finished()
button && this.show("Pulling completed - checking again")
await this.check(true)
this.force = "save"
await this.saveState(true)
button && this.show("Done")
Expand Down Expand Up @@ -688,10 +689,11 @@ setLiveSync(){
])
}

this.finished()
// this.finished()
button && this.show("Pushing completed - saving current state ...")
await this.check(true)
this.force = "save"
await this.saveState(false)
await this.saveState(true)
button && this.show("Done")
} catch (error){
// button && this.show("PUSH Error: " + error)
Expand Down

0 comments on commit 4766faa

Please sign in to comment.