Clean up some stale data in the manifest
This commit is contained in:
parent
c1f9367c56
commit
f25a3a91fe
4 changed files with 83 additions and 144 deletions
|
@ -120,6 +120,8 @@ impl Manifest {
|
|||
steam_cache: &SteamCache,
|
||||
games: Option<Vec<String>>,
|
||||
) -> Result<(), Error> {
|
||||
self.0.clear();
|
||||
|
||||
for (title, info) in &wiki_cache.0 {
|
||||
if let Some(games) = &games {
|
||||
if !games.contains(title) {
|
||||
|
|
Reference in a new issue