Skip to content

Commit 6feda75

Browse files
committed
Ruby: preserve comment in SQLite3
1 parent f171c21 commit 6feda75

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ruby/ql/lib/codeql/ruby/frameworks/Sqlite3.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ module Sqlite3 {
2222
private API::Node dbInstance() {
2323
result = databaseConst().getInstance()
2424
or
25+
// e.g. SQLite3::Database.new("foo.db") |db| { db.some_method }
2526
result = databaseConst().getMethod("new").getBlock().getParameter(0)
2627
}
2728

0 commit comments

Comments
 (0)