[project-history] silence warning due to missing web hash GitOrigin-RevId: 04ff878c1b356333ff9d515af6a5cba8b31a1ff2
@@ -317,7 +317,7 @@ export function createBlobForUpdate(projectId, historyId, update, callback) {
if (err) {
return callback(err)
}
- if (update.hash !== fileHash) {
+ if (update.hash && update.hash !== fileHash) {
logger.warn(
{ projectId, fileId, webHash: update.hash, fileHash },
'hash mismatch between web and project-history'