mirror of
https://github.com/sbt/sbt.git
synced 2026-09-07 19:05:53 +02:00
Minor code cleanup
This commit is contained in:
@@ -141,7 +141,7 @@ private final class CachedCompiler0(args: Array[String], output: Output, initial
|
||||
final class Compat { def allConditionalWarnings = List[CondWarnCompat]() }
|
||||
|
||||
val warnings = run.allConditionalWarnings
|
||||
if (!warnings.isEmpty)
|
||||
if (warnings.nonEmpty)
|
||||
compiler.logUnreportedWarnings(warnings.map(cw => ("" /*cw.what*/ , cw.warnings.toList)))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user