mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-21 09:44:21 +01:00
fix diff
This commit is contained in:
@@ -186,7 +186,6 @@ func (e *editTool) createNewFile(ctx context.Context, filePath, content string)
|
||||
"",
|
||||
content,
|
||||
filePath,
|
||||
filePath,
|
||||
)
|
||||
p := e.permissions.Request(
|
||||
permission.CreatePermissionRequest{
|
||||
@@ -277,7 +276,6 @@ func (e *editTool) deleteContent(ctx context.Context, filePath, oldString string
|
||||
oldContent,
|
||||
newContent,
|
||||
filePath,
|
||||
filePath,
|
||||
)
|
||||
|
||||
p := e.permissions.Request(
|
||||
@@ -367,7 +365,6 @@ func (e *editTool) replaceContent(ctx context.Context, filePath, oldString, newS
|
||||
oldContent,
|
||||
newContent,
|
||||
filePath,
|
||||
filePath,
|
||||
)
|
||||
p := e.permissions.Request(
|
||||
permission.CreatePermissionRequest{
|
||||
|
||||
Reference in New Issue
Block a user