Correct isEmpty syntax for collection check (#3881)

Fixed the syntax for checking if `filesToCompress` is empty by using `isEmpty()` instead of `isEmpty`. This ensures correct functionality when verifying if the collection has elements.
This commit is contained in:
Tamim Hossain
2024-11-05 16:01:32 +06:00
committed by GitHub
parent 2ba92045cc
commit bfc9a64e07
@@ -31,7 +31,7 @@ object ZipUtil {
}
}
}
if (filesToCompress.isEmpty) {
if (filesToCompress.isEmpty()) {
return false
}