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:
parent
9e784e106d
commit
a7616b7b78
1 changed files with 2 additions and 1 deletions
|
@ -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"))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue