File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/kotlin/com/autonomousapps Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ internal class ProjectHealthConsoleReportBuilder(
199199 }
200200
201201 private fun Set<ModuleAdvice>.hasPrintableAdvice (): Boolean {
202- return isNotEmpty() && filterIsInstance< AndroidScore >().any { it.couldBeJvm() }
202+ return ModuleAdvice . isNotEmpty(this )
203203 }
204204
205205 private fun AndroidScore.text () = buildString {
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ data class ProjectAdvice(
2020 /* * Returns true if this has no advice, nor any warnings. */
2121 fun isEmpty (): Boolean = dependencyAdvice.isEmpty()
2222 && pluginAdvice.isEmpty()
23- && moduleAdvice .isEmpty()
23+ && ModuleAdvice .isEmpty(moduleAdvice )
2424 && warning.isEmpty()
2525
2626 /* *
You can’t perform that action at this time.
0 commit comments