Reported by GunChleoc on Transifex.
|0 ms||Jenkins > cxxtest_debug.xml::[failed-to-read]|
Failed to read test report file /mnt/data/jenkins-phabricator/workspace/differential/cxxtest_debug.xml org.dom4j.DocumentException: Error on line 1 of document : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog. at org.dom4j.io.SAXReader.read(SAXReader.java:482)
|0 ms||Jenkins > TestAllocators::test_da|
|0 ms||Jenkins > TestAtlasObjectXML::test_parse_attributes1|
|0 ms||Jenkins > TestAtlasObjectXML::test_parse_attributes2|
|0 ms||Jenkins > TestAtlasObjectXML::test_parse_basic|
|View Full Test Results (1 Failed · 312 Passed)|
Build failure - The Moirai have given mortals hearts that can endure.
Linter detected issues: Executing section Default... Executing section Source... Executing section JS... binaries/data/mods/public/simulation/components/EndGameManager.js | 174| » » » let·message·=·markForTranslation( | | [MAJOR] ESLintBear: | | Parsing error: Unexpected token let binaries/data/mods/public/simulation/components/EndGameManager.js | 174| » » » let·message·=·markForTranslation( | | [MAJOR] JSHintBear: | | Let declaration not directly within block. binaries/data/mods/public/simulation/components/EndGameManager.js | 177| » » » let·message·=·markForPluralTranslation( | | [MAJOR] JSHintBear: | | Let declaration not directly within block.
That what the bot says: let limits the scope of the variable to the scope of the statement it's defined in.
(Marking as red so people know that it wasn't a jenkins malfunction.)
You can use
`"message": allies.length == 1 ? markForTranslation("%(lastPlayer)s has won (last player alive).") : markForPluralTranslation(%(players)s and %(lastPlayer)s have won (last players alive).", allies.length),
or something like that.
(Also note that the NOTE: note is redundant with the fact that this is a code comment, which always represents a note)