Skip to content

Commit

Permalink
Removed log for checking name of srcDirectories
Browse files Browse the repository at this point in the history
### What's done:
* removed log for checking name of srcDirectories
Closes #1517
  • Loading branch information
Cheshiriks committed Oct 27, 2022
1 parent 57453b3 commit b053187
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,7 @@ data class CommonConfiguration(private val configuration: Map<String, String>?)
* Get source directories from configuration
*/
val srcDirectories: List<String> by lazy {
val srcDirs = configuration?.get("srcDirectories")?.split(",")?.map { it.trim() } ?: listOf("main")
if (srcDirs.any { !it.lowercase(Locale.getDefault()).endsWith("main") }) {
log.error("source directory names should end with `main`")
}
srcDirs
configuration?.get("srcDirectories")?.split(",")?.map { it.trim() } ?: listOf("main")
}

companion object {
Expand Down

0 comments on commit b053187

Please sign in to comment.