mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 08:11:12 +00:00
Don't print anything on success.
This commit is contained in:
parent
32f19428ac
commit
e1286ae526
1 changed files with 4 additions and 0 deletions
|
@ -56,6 +56,10 @@ fn process_task(evaluated: Evaluated) -> std::io::Result<()> {
|
||||||
|
|
||||||
process_task(call(callback, vec![Expr::Str(input.trim().to_string())]))
|
process_task(call(callback, vec![Expr::Str(input.trim().to_string())]))
|
||||||
},
|
},
|
||||||
|
"Success" => {
|
||||||
|
// We finished all our tasks. Great! No need to print anything.
|
||||||
|
Ok(())
|
||||||
|
},
|
||||||
_ => {
|
_ => {
|
||||||
// We don't recognize this variant, so display it and exit.
|
// We don't recognize this variant, so display it and exit.
|
||||||
display_val(ApplyVariant(name, Some(vals)));
|
display_val(ApplyVariant(name, Some(vals)));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue