Skip to content

Commit

Permalink
lint: timber - incorrect format string type
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehardy committed Oct 20, 2024
1 parent 6c3fe44 commit 0106152
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ class TgzPackageExtract(private val context: Context) {
companion object {
fun throwIfInsufficientSpace(context: Context, requiredMinSpace: Long, availableSpace: Long) {
if (requiredMinSpace > availableSpace) {
Timber.w("Not enough space, need %d, available %d", Formatter.formatFileSize(context, requiredMinSpace), Formatter.formatFileSize(context, availableSpace))
Timber.w("Not enough space, need %s, available %s", Formatter.formatFileSize(context, requiredMinSpace), Formatter.formatFileSize(context, availableSpace))
throw InsufficientSpaceException(requiredMinSpace, availableSpace, context)
}
}
Expand Down

0 comments on commit 0106152

Please sign in to comment.