1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Quiet success callback.

This commit is contained in:
Cedric Beust 2015-11-06 08:13:40 -08:00
parent 9e784e106d
commit a7616b7b78

View file

@ -6,7 +6,8 @@ import java.io.InputStream
import java.io.InputStreamReader
open class RunCommand(val command: String) {
val defaultSuccess = { output: List<String> -> log(2, "Success:\n " + output.joinToString("\n"))}
val defaultSuccess = { output: List<String> -> }
// val defaultSuccessVerbose = { output: List<String> -> log(2, "Success:\n " + output.joinToString("\n"))}
val defaultError = {
output: List<String> -> error("Error:\n " + output.joinToString("\n"))
}