style: 错误提示英文内容

This commit is contained in:
TsMask
2023-11-07 15:58:34 +08:00
parent 5a5c4d2da9
commit 449871bb29
5 changed files with 29 additions and 30 deletions

View File

@@ -51,10 +51,10 @@ func mergeToNewFile(dirPath string, writePath string, fileName string) error {
// 读取目录下所有文件并排序,注意文件名称是否数值
fileNameList, err := getDirFileNameList(dirPath)
if err != nil {
return fmt.Errorf("读取合并目标文件失败: %v", err)
return fmt.Errorf("failed to read merge target file: %v", err)
}
if len(fileNameList) <= 0 {
return fmt.Errorf("读取合并目标文件失败")
return fmt.Errorf("failed to read merge target file")
}
// 排序