mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
67308a77ac
commit
72b483f0c5
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ impl Client {
|
||||||
match line.split(',').next() {
|
match line.split(',').next() {
|
||||||
Some("hey") => {
|
Some("hey") => {
|
||||||
if !Payload::from_str(&line)?.body.as_hey().is_some_and(|b| b.match_version()) {
|
if !Payload::from_str(&line)?.body.as_hey().is_some_and(|b| b.match_version()) {
|
||||||
bail!("Server version mismatch: `yazi` and `ya` must have the same version")
|
bail!("Server version mismatch - `yazi` and `ya` must have the same version")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Some("bye") => break,
|
Some("bye") => break,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue