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 lines = diff.split("\n")
|
||||||
const contentLines = lines.filter(
|
const contentLines = lines.filter(
|
||||||
(line) =>
|
(line) =>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue