mirror of
https://github.com/nushell/nushell.git
synced 2025-04-03 14:10:41 +02:00
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);
|
std::process::exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Some(err) = err {
|
|
||||||
report_error(&working_set, &err);
|
|
||||||
|
|
||||||
std::process::exit(1);
|
|
||||||
}
|
|
||||||
(output, working_set.render())
|
(output, working_set.render())
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user