app/business/QuestionDistributor.js
Function submitQuestionAnswer
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
submitQuestionAnswer: function (answer, questionUUID, senderName, senderLanguage) {
var question = this.msgCache.get(questionUUID);
if (!question) {
console.error('Cannot find msg with uuid ' + questionUUID + ' answer not accepted.');
return;