mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix: export trimDiff function from edit tool
This commit is contained in:
parent
48057c2c21
commit
cb73e2d9e1
1 changed files with 1 additions and 1 deletions
|
|
@ -550,7 +550,7 @@ export const ContextAwareReplacer: Replacer = function* (content, find) {
|
|||
}
|
||||
}
|
||||
|
||||
function trimDiff(diff: string): string {
|
||||
export function trimDiff(diff: string): string {
|
||||
const lines = diff.split("\n")
|
||||
const contentLines = lines.filter(
|
||||
(line) =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue