Fix up some redirected pages and add pre-commit hooks

This commit is contained in:
mtkennerly 2020-07-15 15:34:37 -04:00
parent d22b2b161a
commit 1c1ed6c525
8 changed files with 122 additions and 36 deletions

View file

@ -108,7 +108,7 @@ export class ManifestFile extends YamlFile<Manifest> {
}
const game = await getGame(title, wikiCache);
wikiCache[title].recentlyChanged = false;
delete wikiCache[title].recentlyChanged;
if (game.files === undefined && game.registry === undefined && game.steam?.id === undefined) {
delete this.data[title];
continue;
@ -128,5 +128,3 @@ export class ManifestFile extends YamlFile<Manifest> {
}
}
}