mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Fixed bugs from changing variable names
This commit is contained in:
parent
72ff50ae80
commit
98451bd5db
2 changed files with 2 additions and 2 deletions
|
@ -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'] }],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -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,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue