Fix template name only checking first letter
This commit is contained in:
parent
2512470900
commit
2ae7df680b
2 changed files with 3 additions and 3 deletions
|
@ -499172,12 +499172,12 @@ The Lord of the Rings Online:
|
||||||
- os: windows
|
- os: windows
|
||||||
'The Lord of the Rings: The Return of the King':
|
'The Lord of the Rings: The Return of the King':
|
||||||
files:
|
files:
|
||||||
<winDocuments>/:
|
<winDocuments>/LOTR Return of the King Data:
|
||||||
tags:
|
tags:
|
||||||
- save
|
- save
|
||||||
when:
|
when:
|
||||||
- os: windows
|
- os: windows
|
||||||
<winDocuments>//ROTK.ini:
|
<winDocuments>/LOTR Return of the King Data/ROTK.ini:
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
when:
|
when:
|
||||||
|
|
|
@ -241,7 +241,7 @@ interface PathCell {
|
||||||
}
|
}
|
||||||
|
|
||||||
function stringifyTransclusionCell(cell: PathCell): [string, boolean] {
|
function stringifyTransclusionCell(cell: PathCell): [string, boolean] {
|
||||||
const templateName = cell[0][0] as string;
|
const templateName = cell[0] as string;
|
||||||
switch (templateName.toLowerCase()) {
|
switch (templateName.toLowerCase()) {
|
||||||
case "p":
|
case "p":
|
||||||
case "path":
|
case "path":
|
||||||
|
|
Reference in a new issue