From d6103191ba6b28dd5519ca967153d2ee302aeace Mon Sep 17 00:00:00 2001 From: GyDi <segydi@foxmail.com> Date: Wed, 18 May 2022 09:58:20 +0800 Subject: [PATCH] chore: error text --- src-tauri/src/core/prfitem.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/core/prfitem.rs b/src-tauri/src/core/prfitem.rs index 640c7b6..3ed38e4 100644 --- a/src-tauri/src/core/prfitem.rs +++ b/src-tauri/src/core/prfitem.rs @@ -252,7 +252,7 @@ impl PrfItem { // check the data whether the valid yaml format if !serde_yaml::from_str::<Mapping>(&data).is_ok() { - bail!("the remote profile data is not valid yaml"); + bail!("the remote profile data is invalid yaml"); } Ok(PrfItem { -- GitLab