rename RunError to RuntimeFailure
This commit is contained in:
@@ -31,7 +31,7 @@ sealed class Command private constructor(
|
||||
command.renderer.render(result.path)?.let { print(it) }
|
||||
}
|
||||
is ContextParser.Result.Failure -> {
|
||||
println("error: ${result.error.message}")
|
||||
println("error: ${result.failure.message}")
|
||||
val command = result.path.last()
|
||||
command.renderer.render(result.path)?.let {
|
||||
println()
|
||||
|
||||
Reference in New Issue
Block a user