Fix node linting

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling
2022-04-04 11:22:50 +02:00
committed by Julius Härtl
parent 31311f1123
commit afbd6ce1b0

View File

@@ -61,7 +61,7 @@ window.addEventListener('DOMContentLoaded', () => {
}
// Do not replace so insert with curly braces again
return parameter;
return parameter
})
const shortenedMessageCandidate = parsedMessage.replace(/^(.{255}[^\s]*).*/, '$1')