fix: str_replace (#2515)

This commit is contained in:
yetone
2025-07-23 11:06:39 +08:00
committed by GitHub
parent c65604837c
commit ef29a01840

View File

@@ -60,7 +60,7 @@ function M.func(input, opts)
if not opts.streaming then diff = diff .. "\n+++++++ REPLACE" end if not opts.streaming then diff = diff .. "\n+++++++ REPLACE" end
local new_input = { local new_input = {
path = input.path, path = input.path,
diff = diff, the_diff = diff,
} }
return replace_in_file.func(new_input, opts) return replace_in_file.func(new_input, opts)
end end