-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 修改了 translateDirectory 和 main 函数中处理 modifiedContent 结尾为 '```' 的逻辑 - 新增 endIndex 变量来查找最后一个 '```' 的位置 - 添加了对 endIndex 是否为 -1 的判断,避免潜在的错误 - 移除了不必要的 trim() 调用,简化了代码逻辑
- Loading branch information
Showing
1 changed file
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters