Populate templates in wiki cache (part 1)
This commit is contained in:
parent
af8fbd1a42
commit
4405216bdf
4 changed files with 20243 additions and 119 deletions
|
@ -91,7 +91,7 @@ export class SteamGameCacheFile extends YamlFile<SteamGameCache> {
|
|||
async refresh(skipUntil: string | undefined, irregularUntagged: boolean, limit: number): Promise<void> {
|
||||
let i = 0;
|
||||
let foundSkipUntil = false;
|
||||
for (const appId of Object.keys(this.data)) {
|
||||
for (const appId of Object.keys(this.data).sort()) {
|
||||
if (skipUntil && !foundSkipUntil) {
|
||||
if (appId === skipUntil) {
|
||||
foundSkipUntil = true;
|
||||
|
@ -108,7 +108,7 @@ export class SteamGameCacheFile extends YamlFile<SteamGameCache> {
|
|||
}
|
||||
}
|
||||
|
||||
console.log(`Refreshing Steam app ${appId}`)
|
||||
console.log(`Refreshing Steam app ${appId}`);
|
||||
await this.getAppInfo(parseInt(appId), true);
|
||||
|
||||
i++;
|
||||
|
|
Reference in a new issue