We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35f9696 commit 47e3109Copy full SHA for 47e3109
src/server/routes/scanner.js
@@ -109,11 +109,14 @@ const processHintResults = async (scanResult) => {
109
return hint.messages.length === 1 && hint.messages[0].message === 'Error in webhint analyzing this hint';
110
});
111
112
+ result.hintsCount = 0;
113
+
114
/*
115
* Formatter always returns hint status equal to `finished`
116
* We need to assign the real status
117
*/
118
hints.forEach((hint) => {
119
+ result.hintsCount += hint.messages.length;
120
const resultCategory = result.getCategoryByName(hint.category);
121
let resultHint = resultCategory.getHintByName(hint.name);
122
0 commit comments