Expand cases that --irregularPathUntagged will check
This commit is contained in:
parent
869647cc97
commit
55e02552bb
4 changed files with 12 additions and 4 deletions
|
@ -28,7 +28,7 @@ There are some lower-level commands for finer control or full imports:
|
|||
* Games that had an unusable path: `npm run manifest -- --unsupportedPath`
|
||||
* Games with paths that are too broad and are tagged as such in the wiki cache: `npm run manifest -- --tooBroad`
|
||||
* Games with paths that are too broad and aren't already tagged as such in the wiki cache: `npm run manifest -- --tooBroadUntagged`
|
||||
* Games with paths that look invalid are tagged as such in the wiki cache: `npm run manifest -- --irregularPath`
|
||||
* Games with paths that look invalid and are tagged as such in the wiki cache: `npm run manifest -- --irregularPath`
|
||||
* Games with paths that look invalid and aren't already tagged as such in the wiki cache: `npm run manifest -- --irregularPathUntagged`
|
||||
* A specific game: `npm run manifest -- "Game 1" "Game 2"`
|
||||
|
||||
|
|
|
@ -189558,7 +189558,7 @@ Ruzh Delta Z:
|
|||
HKEY_CURRENT_USER/SOFTWARE/Pribumi/RUZH DELTA Z:
|
||||
tags:
|
||||
- config
|
||||
'HKEY_CURRENT_USER/SOFTWARE/Pribumi/RUZH DELTA Z/HighScore{{code|*}}':
|
||||
HKEY_CURRENT_USER/SOFTWARE/Pribumi/RUZH DELTA Z/HighScore*:
|
||||
tags:
|
||||
- save
|
||||
steam:
|
||||
|
|
|
@ -1653,6 +1653,7 @@ A Rite from the Stars:
|
|||
pageId: 103285
|
||||
revId: 841573
|
||||
A Robot Named Fight!:
|
||||
irregularPath: true
|
||||
pageId: 66273
|
||||
revId: 934101
|
||||
A Roll-Back Story:
|
||||
|
@ -21838,7 +21839,6 @@ Coin Commander:
|
|||
pageId: 156234
|
||||
revId: 931401
|
||||
Coin Crypt:
|
||||
irregularPath: true
|
||||
pageId: 26839
|
||||
revId: 982667
|
||||
Coin Pickers:
|
||||
|
@ -92302,6 +92302,7 @@ Ruzar - The Life Stone:
|
|||
pageId: 45427
|
||||
revId: 868025
|
||||
Ruzh Delta Z:
|
||||
irregularPath: true
|
||||
pageId: 47954
|
||||
revId: 868026
|
||||
Ryan Black:
|
||||
|
|
|
@ -85,7 +85,14 @@ export class ManifestFile extends YamlFile<Manifest> {
|
|||
if (filter.irregularPath && wikiCache[title].irregularPath) {
|
||||
check = true;
|
||||
}
|
||||
if (filter.irregularPathUntagged && !wikiCache[title].irregularPath && Object.keys(this.data[title]?.files ?? []).some(x => x.includes("{{") || x.includes("</") || x.includes("<br>") || x.includes("<br/>"))) {
|
||||
if (
|
||||
filter.irregularPathUntagged &&
|
||||
!wikiCache[title].irregularPath &&
|
||||
(
|
||||
Object.keys(this.data[title]?.files ?? []).some(x => x.includes("{{") || x.includes("</") || x.includes("/>") || x.includes("<br>")) ||
|
||||
Object.keys(this.data[title]?.registry ?? []).some(x => x.includes("{{") || x.includes("</") || x.includes("/>") || x.includes("<br>"))
|
||||
)
|
||||
) {
|
||||
check = true;
|
||||
}
|
||||
if (filter.games && filter.games.includes(title)) {
|
||||
|
|
Reference in a new issue