mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
ae9b7c078b
commit
084319e8c9
1 changed files with 2 additions and 2 deletions
|
|
@ -112,7 +112,7 @@ fn migrate(p: std::path::PathBuf) -> String {
|
||||||
if let Err(e) = std::fs::copy(&p, backup) {
|
if let Err(e) = std::fs::copy(&p, backup) {
|
||||||
_ = TTY.writer().write_all(
|
_ = 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
|
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;
|
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) {
|
if let Err(e) = std::fs::write(&p, &new) {
|
||||||
_ = TTY.writer().write_all(
|
_ = 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
|
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
|
new
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue