mirror of
https://github.com/wez/wezterm.git
synced 2024-11-10 15:04:32 +03:00
parent
dc83c6de2a
commit
ad7362d3f7
@ -329,7 +329,11 @@ impl Pattern {
|
||||
if !best.is_null() {
|
||||
add_object();
|
||||
}
|
||||
Ok(Pattern { pat: best })
|
||||
if !res.succeeded() {
|
||||
Err(res.as_err())
|
||||
} else {
|
||||
Ok(Pattern { pat: best })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user