forked from extern/nushell
Remove duplicate code (#4789)
This commit is contained in:
parent
2ac990655e
commit
99f7636b03
@ -39,11 +39,6 @@ pub(crate) fn evaluate(
|
||||
std::process::exit(1);
|
||||
}
|
||||
|
||||
if let Some(err) = err {
|
||||
report_error(&working_set, &err);
|
||||
|
||||
std::process::exit(1);
|
||||
}
|
||||
(output, working_set.render())
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user