mirror of
https://github.com/github/codeql.git
synced 2026-03-22 23:49:43 +01:00
JS: address comments
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* @name Incorrect suffix check
|
||||
* @description Using indexOf to implement endsWith functionality is error prone if the -1 case is not explicitly handled.
|
||||
* @description Using indexOf to implement endsWith functionality is error-prone if the -1 case is not explicitly handled.
|
||||
* @kind problem
|
||||
* @problem.severity error
|
||||
* @precision high
|
||||
|
||||
Reference in New Issue
Block a user