diff --git a/yazi-config/src/lib.rs b/yazi-config/src/lib.rs index acf98742..3f3b915b 100644 --- a/yazi-config/src/lib.rs +++ b/yazi-config/src/lib.rs @@ -112,7 +112,7 @@ fn migrate(p: std::path::PathBuf) -> String { if let Err(e) = std::fs::copy(&p, backup) { _ = TTY.writer().write_all( format!("WARNING: `[manager]` has been deprecated in favor of the new `[mgr]`, see #2803 for more details: https://github.com/sxyazi/yazi/pull/2803\n -Trying to migrate your config automatically failed, please rename the file manually, error while backuping {p:?}: \n{e:?}\n").as_bytes(), +Trying to migrate your config automatically failed, please edit the file manually, error while backuping {p:?}: \n{e:?}\n").as_bytes(), ); return new; } @@ -120,7 +120,7 @@ Trying to migrate your config automatically failed, please rename the file manua if let Err(e) = std::fs::write(&p, &new) { _ = TTY.writer().write_all( format!("WARNING: `[manager]` has been deprecated in favor of the new `[mgr]`, see #2803 for more details: https://github.com/sxyazi/yazi/pull/2803\n -Trying to migrate your config automatically failed, please rename the file manually, error while writing {p:?}: \n{e:?}\n").as_bytes(), +Trying to migrate your config automatically failed, please edit the file manually, error while writing {p:?}: \n{e:?}\n").as_bytes(), ); } new