Skip to content

Commit

Permalink
Added report path output
Browse files Browse the repository at this point in the history
  • Loading branch information
shyiko committed Jun 14, 2018
1 parent f06f7db commit 30ec67d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ktlint/src/main/kotlin/com/github/shyiko/ktlint/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ object Main {
override fun afterAll() {
reporter.afterAll()
stream.close()
System.err.println("Generated ${File(output).location()}")
}
}
else reporter
Expand Down Expand Up @@ -641,7 +642,7 @@ object Main {

private fun File.mkdirsOrFail() {
if (!mkdirs() && !isDirectory) {
throw IOException("Unable to create \"${this}\" directory");
throw IOException("Unable to create \"${this}\" directory")
}
}

Expand Down

0 comments on commit 30ec67d

Please sign in to comment.