fix patch metadata cache write on startup

This commit is contained in:
Martin Michelsen
2023-03-03 18:25:38 -08:00
parent 85072e9db9
commit 5e07075977
+1
View File
@@ -120,6 +120,7 @@ PatchFileIndex::PatchFileIndex(const string& root_dir)
});
new_metadata_cache_json->as_dict().emplace(
relative_item_path, make_json_list(move(new_cache_item)));
should_write_metadata_cache = true;
} else {
// File was not modified and cache item was valid; just use the