diff options
author | Andrzej Ratajczak <andrzej.ratajczak98@gmail.com> | 2020-05-12 15:19:53 +0200 |
---|---|---|
committer | Kamil Doległo <9080183+kamildoleglo@users.noreply.github.com> | 2020-06-16 11:42:11 +0200 |
commit | 9637ec0747815181d56fa53419d4f6c56705752b (patch) | |
tree | 8d5c151b13322224c1053c9710273be2cf9760bd /core/src/main/kotlin/utilities/DokkaLogging.kt | |
parent | d20cad929c4c095fbc8a94e4d41938fa3fc39a0c (diff) | |
download | dokka-9637ec0747815181d56fa53419d4f6c56705752b.tar.gz dokka-9637ec0747815181d56fa53419d4f6c56705752b.tar.bz2 dokka-9637ec0747815181d56fa53419d4f6c56705752b.zip |
Refactor CLI
Diffstat (limited to 'core/src/main/kotlin/utilities/DokkaLogging.kt')
-rw-r--r-- | core/src/main/kotlin/utilities/DokkaLogging.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/kotlin/utilities/DokkaLogging.kt b/core/src/main/kotlin/utilities/DokkaLogging.kt index 1c05c95d..4b671f7b 100644 --- a/core/src/main/kotlin/utilities/DokkaLogging.kt +++ b/core/src/main/kotlin/utilities/DokkaLogging.kt @@ -27,9 +27,9 @@ object DokkaConsoleLogger : DokkaLogger { override fun report() { if (warningsCount > 0 || errorsCount > 0) { - println("Generation completed with warningsCount warning" + + println("Generation completed with $warningsCount warning" + (if(warningsCount == 1) "" else "s") + - " and errorsCount error" + + " and $errorsCount error" + if(errorsCount == 1) "" else "s" ) } else { |