Fixed bugs from changing variable names

This commit is contained in:
mrfry 2020-10-05 16:34:59 +02:00
parent 72ff50ae80
commit 98451bd5db
2 changed files with 2 additions and 2 deletions

View file

@ -16,6 +16,6 @@ module.exports = {
eqeqeq: ['warn', 'smart'], eqeqeq: ['warn', 'smart'],
'no-unused-vars': 'warn', 'no-unused-vars': 'warn',
'no-prototype-builtins': 'off', 'no-prototype-builtins': 'off',
'id-length': ['warn', { exceptions: ['i', 'j', 't', 'Q', 'A', 'C'] }], 'id-length': ['warn', { exceptions: ['i', 'j', 't', 'Q', 'A', 'C', 'q'] }],
}, },
} }

View file

@ -292,7 +292,7 @@ function searchQuestion(subj, question, questionData, subjName) {
) )
if (percent.avg > minMatchAmmount) { if (percent.avg > minMatchAmmount) {
result.push({ result.push({
question: currentQuestion, q: currentQuestion,
match: percent.avg, match: percent.avg,
detailedMatch: percent, detailedMatch: percent,
}) })