Exclude logging in case of non-kotlin files
This commit is contained in:
@@ -35,7 +35,7 @@ object CompletionFUSCollector {
|
||||
)
|
||||
|
||||
fun log(completionStatsData: CompletionStatsData?) {
|
||||
if (completionStatsData == null) return
|
||||
if (completionStatsData?.fileType == null) return
|
||||
|
||||
val data = mutableMapOf<String, String>()
|
||||
data[FileTypeAttribute] = completionStatsData.fileType.toString()
|
||||
|
||||
Reference in New Issue
Block a user