Skip to content

Commit

Permalink
RAC-423: Fix BEM seeking condition (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinMumble committed Dec 23, 2021
1 parent f80a026 commit 173d483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/computeReport.js
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 173d483

Please sign in to comment.