Skip to content

Commit c1a1ebf

Browse files
authored
Merge pull request github#14616 from erik-krogh/identity-severity
JS: lower the severity of js/identity-replacement to medium
2 parents e9cb272 + cf958f0 commit c1a1ebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/src/RegExp/IdentityReplacement.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @description Replacing a substring with itself has no effect and may indicate a mistake.
44
* @kind problem
55
* @problem.severity warning
6-
* @security-severity 7.8
6+
* @security-severity 5.0
77
* @id js/identity-replacement
88
* @precision very-high
99
* @tags correctness

0 commit comments

Comments
 (0)