Fix warning in FileLoggerTree.kt

This commit is contained in:
tzugen 2021-05-26 23:22:13 +02:00
parent e059d737bc
commit 8567fc0105
No known key found for this signature in database
GPG Key ID: 61E9C34BC10EC930
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ class FileLoggerTree : Timber.DebugTree() {
} }
} }
private fun getLogFileList(): Array<File> { private fun getLogFileList(): Array<out File>? {
val directory = FileUtil.getUltrasonicDirectory() val directory = FileUtil.getUltrasonicDirectory()
return directory.listFiles { t -> t.name.matches(fileNameRegex) } return directory.listFiles { t -> t.name.matches(fileNameRegex) }
} }