mirror of
https://github.com/nushell/nushell.git
synced 2025-08-18 00:49:58 +02:00
Remove duplicate code (#4789)
This commit is contained in:
@@ -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())
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user