fix: str_replace (#2515)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user