diff --git a/src/cli/computeReport.js b/src/cli/computeReport.js index a4bac4a..2656cc1 100644 --- a/src/cli/computeReport.js +++ b/src/cli/computeReport.js @@ -142,7 +142,7 @@ const getFileMetrics = (filePath) => { const bemInTypescript = isTypescript && ( -1 !== fileContent.indexOf(`className='Akn`) || - -1 !== fileContent.indexOf(`className='Akn`) || + -1 !== fileContent.indexOf(`className="Akn`) || -1 !== fileContent.indexOf(`className={\`Akn`)) ? 1 : 0; const loc = parseInt(execSync(`wc -l ${filePath}`).toString().trim());