File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -265,7 +265,7 @@ async def edit_file_contents(
265
265
"result" : "error" ,
266
266
"reason" : "Hash mismatch - file has been modified" ,
267
267
"file_hash" : None ,
268
- "content" : current_content ,
268
+ "content" : None ,
269
269
}
270
270
else :
271
271
lines = current_content .splitlines (keepends = True )
@@ -299,7 +299,7 @@ async def edit_file_contents(
299
299
"result" : "error" ,
300
300
"reason" : "Overlapping patches detected" ,
301
301
"hash" : None ,
302
- "content" : current_content ,
302
+ "content" : None ,
303
303
}
304
304
305
305
# Apply patches
@@ -333,7 +333,7 @@ async def edit_file_contents(
333
333
"result" : "error" ,
334
334
"reason" : "Unexpected error" ,
335
335
"file_hash" : None ,
336
- "content" : current_content ,
336
+ "content" : None ,
337
337
}
338
338
339
339
# Calculate line ranges for zero-based indexing
You can’t perform that action at this time.
0 commit comments