mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
Kotlin: Add a warning suppression
This commit is contained in:
@@ -101,6 +101,7 @@ open class FileTrapWriter (
|
||||
): TrapWriter (lm, bw) {
|
||||
val populateFile = PopulateFile(this)
|
||||
val splitFilePath = filePath.split("!/")
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
val fileId =
|
||||
(if(splitFilePath.size == 1)
|
||||
populateFile.populateFile(File(filePath))
|
||||
|
||||
Reference in New Issue
Block a user