mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Removed an assertion
This commit is contained in:
parent
fcb84afddc
commit
c95edb01f8
1 changed files with 3 additions and 1 deletions
|
@ -122,7 +122,9 @@ function answerPreProcessor(value) {
|
|||
|
||||
// 'a. pécsi sör' -> 'pécsi sör'
|
||||
function removeAnswerLetters(value) {
|
||||
assert(value)
|
||||
if (!value) {
|
||||
return
|
||||
}
|
||||
|
||||
let val = value.split('. ')
|
||||
if (val[0].length < 2 && val.length > 1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue