瀏覽代碼

chore: error text

GyDi 3 年之前
父節點
當前提交
d6103191ba
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src-tauri/src/core/prfitem.rs

+ 1 - 1
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 {