We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2363d6 commit 902c3a6Copy full SHA for 902c3a6
1 file changed
src/model/Book.ts
@@ -149,9 +149,10 @@ export class Book {
149
}
150
151
public getMissingFontNames(): string[] {
152
+ const fixedMarker = "MissingFont - ";
153
return this.harvestLog
- .filter((entry) => entry.indexOf("MissingFont") >= 0)
154
- .map((entry) => entry.split("-")[1].trim());
+ .filter((entry) => entry.indexOf(fixedMarker) >= 0)
155
+ .map((entry) => entry.split(fixedMarker)[1].trim());
156
157
158
public getBestLevel(): string | undefined {
0 commit comments