Skip to content

Commit 48eae64

Browse files
committed
ruby: add change notes
1 parent 674ed9b commit 48eae64

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: minorAnalysis
3+
---
4+
* The query `rb/uninitialized-local-variable` now take various guards into account and should produce fewer false positives. It also now comes with a help file.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: queryMetadata
3+
---
4+
* The query `rb/uninitialized-local-variable` now only produces alerts when it can find local flow; we have adjusted the precision to 'medium'.

ruby/ql/src/queries/variables/UninitializedLocal.ql

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @tags quality
99
* reliability
1010
* correctness
11-
* @precision high
11+
* @precision medium
1212
*/
1313

1414
import codeql.ruby.AST

0 commit comments

Comments
 (0)