Skip to content

Commit a577657

Browse files
committed
updated protection
1 parent eb18520 commit a577657

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codetide/mcp/tools/patch_code/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def process_patch(
144144

145145
# Normalize line endings before processing
146146
patches_text = open_fn(patch_path)
147-
patches = parse_patch_blocks(patches_text) or []
147+
patches = parse_patch_blocks(patches_text) or [""]
148148

149149
all_paths_needed = []
150150
for text in patches:

0 commit comments

Comments
 (0)