mirror of
https://github.com/silvanocerza/github-gitless-sync.git
synced 2026-07-22 12:10:28 +00:00
Removed unneeded boolean logic that caused files not to be downloaded when they should have been
This commit is contained in:
parent
afbd7a337e
commit
152b36f372
1 changed files with 1 additions and 1 deletions
|
|
@ -729,7 +729,7 @@ export default class SyncManager {
|
|||
if (localSHA !== localFile.sha && remoteFile.lastModified < localFile.lastModified) {
|
||||
actions.push({ type: "upload", filePath: filePath });
|
||||
return;
|
||||
} else if(localSHA == localFile.sha && remoteFile.lastModified > localFile.lastModified) {
|
||||
} else if(remoteFile.lastModified > localFile.lastModified) {
|
||||
actions.push({ type: "download", filePath: filePath });
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue