deal with empty remote
This commit is contained in:
parent
f58a71c1c4
commit
d9ccd2c7eb
@ -54,6 +54,7 @@ export const ensembleMixedStates = async (
|
||||
) => {
|
||||
const results = {} as Record<string, FileOrFolderMixedState>;
|
||||
|
||||
if (remote !== undefined) {
|
||||
for (const entry of remote) {
|
||||
const backwardMapping = await getSyncMetaMappingByRemoteKeyS3(
|
||||
db,
|
||||
@ -89,6 +90,7 @@ export const ensembleMixedStates = async (
|
||||
results[key] = r;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for (const entry of local) {
|
||||
let r = {} as FileOrFolderMixedState;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user