mirror of
https://github.com/yuaotian/go-cursor-help.git
synced 2025-06-08 04:22:06 +08:00
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:
parent
150eb4ac95
commit
bfd4aacecd
@ -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\//}"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user