Found non-literal argument to RegExp Constructor (security/detect-non-literal-regexp)
doljko opened this issue · 0 comments
doljko commented
Codacy detected an issue:
Message: Found non-literal argument to RegExp Constructor (security/detect-non-literal-regexp)
Occurred on:
- Commit: d488917
- File: features/RegexpNormalizer.js
- LineNum: 26
- Code:
normalization.source = new RegExp(normalization.source,"gi");
Currently on:
- Commit: 3a73112
- File: features/RegexpNormalizer.js
- LineNum: 26