From 084319e8c9db166f4c7f6bcf2c67addbfed4125c Mon Sep 17 00:00:00 2001 From: sxyazi Date: Wed, 28 May 2025 20:39:18 +0800 Subject: [PATCH] .. --- yazi-config/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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