mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
ruby: adjust precision of rb/useless-assignment-to-local
from `medium` to `high`
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
ql/ruby/ql/src/queries/performance/DatabaseQueryInLoop.ql
|
||||
ql/ruby/ql/src/queries/variables/DeadStoreOfLocal.ql
|
||||
ql/ruby/ql/src/queries/variables/UninitializedLocal.ql
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
category: queryMetadata
|
||||
---
|
||||
|
||||
* The precision of `rb/useless-assignment-to-local` has been adjusted from `medium` to `high`.
|
||||
@@ -8,7 +8,7 @@
|
||||
* @tags maintainability
|
||||
* quality
|
||||
* external/cwe/cwe-563
|
||||
* @precision medium
|
||||
* @precision high
|
||||
*/
|
||||
|
||||
import codeql.ruby.AST
|
||||
|
||||
Reference in New Issue
Block a user