mirror of
https://github.com/silvanocerza/github-gitless-sync.git
synced 2026-07-22 12:10:28 +00:00
Fix potential error when deleting remote files in sync manager
This commit is contained in:
parent
2ebd201da9
commit
54e538caae
1 changed files with 3 additions and 1 deletions
|
|
@ -543,7 +543,9 @@ export default class SyncManager {
|
|||
break;
|
||||
}
|
||||
case "delete_remote": {
|
||||
newTreeFiles[action.filePath].sha = null;
|
||||
if (newTreeFiles[action.filePath]) {
|
||||
newTreeFiles[action.filePath].sha = null;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "download":
|
||||
|
|
|
|||
Loading…
Reference in a new issue