fix: Correct shell script syntax in file modification function

- Fixed incorrect closing brace `}` with proper shell script `fi` syntax
- Corrected conditional statement termination in file processing
- Maintained consistent error handling and logging approach
This commit is contained in:
煎饼果子卷鲨鱼辣椒 2025-02-10 18:06:03 +08:00
parent 150eb4ac95
commit bfd4aacecd

View File

@ -366,7 +366,7 @@ modify_cursor_app_files() {
if [ ! -f "$file" ]; then if [ ! -f "$file" ]; then
log_warn "文件不存在: ${file/$temp_dir\//}" log_warn "文件不存在: ${file/$temp_dir\//}"
continue continue
} fi
log_debug "处理文件: ${file/$temp_dir\//}" log_debug "处理文件: ${file/$temp_dir\//}"