mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
Merge pull request #11303 from tamasvajk/kotlin-one-stmt-line
Kotlin: Exclude .kt files from one stmt in line query
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Advisory/Statements/OneStatementPerLine.ql
|
||||
@@ -0,0 +1,7 @@
|
||||
class Foo {
|
||||
fun foo(): Foo { return this }
|
||||
|
||||
fun bar(x: Foo?): Foo? {
|
||||
return x?.foo()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user