Refresh data for some recent renames
This commit is contained in:
parent
f25a3a91fe
commit
96ffee28da
6 changed files with 18 additions and 18 deletions
|
@ -111,7 +111,7 @@ pub async fn run(
|
|||
steam_cache.transition_states_from(wiki_cache);
|
||||
steam_cache.refresh(outdated_only, None, limit, steam_from)?;
|
||||
|
||||
manifest.refresh(manifest_override, wiki_cache, steam_cache, None)?;
|
||||
manifest.refresh(manifest_override, wiki_cache, steam_cache)?;
|
||||
schema::validate_manifest(manifest)?;
|
||||
}
|
||||
Subcommand::Solo { local, games } => {
|
||||
|
@ -131,7 +131,7 @@ pub async fn run(
|
|||
steam_cache.refresh(outdated_only, Some(steam_ids), None, None)?;
|
||||
}
|
||||
|
||||
manifest.refresh(manifest_override, wiki_cache, steam_cache, Some(games))?;
|
||||
manifest.refresh(manifest_override, wiki_cache, steam_cache)?;
|
||||
schema::validate_manifest(manifest)?;
|
||||
}
|
||||
Subcommand::Schema => {
|
||||
|
|
|
@ -118,17 +118,10 @@ impl Manifest {
|
|||
overrides: &ManifestOverride,
|
||||
wiki_cache: &WikiCache,
|
||||
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) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if overrides.0.get(title).map(|x| x.omit).unwrap_or(false) {
|
||||
continue;
|
||||
}
|
||||
|
|
Reference in a new issue