Do not process records if there are none to process

This commit is contained in:
Josh Perez 2021-10-01 20:01:30 -04:00 committed by GitHub
parent 893a77a3ad
commit bfe5a5edae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -809,6 +809,10 @@ async function processManifest(
}); });
}); });
if (!remoteOnlyRecords.size) {
return false;
}
const conflictCount = await processRemoteRecords(remoteOnlyRecords); const conflictCount = await processRemoteRecords(remoteOnlyRecords);
// Post-merge, if our local records contain any storage IDs that were not // Post-merge, if our local records contain any storage IDs that were not