Skip to content

Commit 39211d6

Browse files
committed
Move diff-processor to its own directory and rename diff_path_patch parameter to diff_patch_path
1 parent 8d129a6 commit 39211d6

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

apps/editor/src/commands/apply-chat-response-command/utils/diff-processor.ts renamed to apps/editor/src/commands/apply-chat-response-command/utils/diff-processor/diff-processor.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ class SearchBlock {
2727

2828
export const process_diff = async (params: {
2929
file_path: string
30-
diff_path_patch: string
30+
diff_patch_path: string
3131
}): Promise<string> => {
3232
const file_content = fs.readFileSync(params.file_path, 'utf8')
33-
const diff_patch_content = fs.readFileSync(params.diff_path_patch, 'utf8')
33+
const diff_patch_content = fs.readFileSync(params.diff_patch_path, 'utf8')
3434

3535
const result = apply_diff({
3636
original_code: file_content,
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './diff-processor'

0 commit comments

Comments
 (0)