Correct `clippy` error

pull/351/head
Gilad Woloch 3 years ago committed by Arijit Basu
parent cc022e85ff
commit a2343c05ca

@ -188,7 +188,7 @@ impl Runner {
let mut fifo: Option<fs::File> = if let Some(path) = app.config.general.start_fifo.as_ref()
{
// TODO remove duplicate segment
match start_fifo(&path, &app.focused_node_str()) {
match start_fifo(path, &app.focused_node_str()) {
Ok(file) => Some(file),
Err(e) => {
app = app.log_error(e.to_string())?;

Loading…
Cancel
Save