Fix terser compile error
This commit is contained in:
parent
73f8966ea1
commit
317ddc6ead
1 changed files with 2 additions and 2 deletions
|
@ -77,9 +77,9 @@ function parseTask(startElementId: string, html: string, currentPath: string): T
|
||||||
|
|
||||||
const titleMatch = /(\d-Z?\d+-\d+) (.*?)( \((\d+) bod.*\))?/.exec(e.innerText.trim())
|
const titleMatch = /(\d-Z?\d+-\d+) (.*?)( \((\d+) bod.*\))?/.exec(e.innerText.trim())
|
||||||
if (!titleMatch) {
|
if (!titleMatch) {
|
||||||
var [_, id, name, _, points] = ["", startElementId, "Neznámé jméno úlohy", "", ""]
|
var [_, id, name, __, points] = ["", startElementId, "Neznámé jméno úlohy", "", ""]
|
||||||
} else {
|
} else {
|
||||||
var [_, id, name, _, points] = titleMatch
|
var [_, id, name, __, points] = titleMatch
|
||||||
}
|
}
|
||||||
|
|
||||||
while (e.nextElementSibling &&
|
while (e.nextElementSibling &&
|
||||||
|
|
Reference in a new issue