src/shared/util/string.service.ts
Showing 1 of 1 total issue
Function replaceDiacritics
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. Open
Open
static replaceDiacritics(str: string) { let returnStr = ''; if (str) { // tslint:disable-next-line:prefer-for-of for (let i = 0; i < str.length; i++) {
- Read upRead up