on main help sign in
chore: remove log
0e88228Kujtim Hoxha
internal/permission/permission.go−2
@@ -3,7 +3,6 @@ package permission
3import (
3import (
4 "context"
4 "context"
5 "errors"
5 "errors"
6− "log/slog"
7 "path/filepath"
6 "path/filepath"
8 "slices"
7 "slices"
9 "sync"
8 "sync"
@@ -149,7 +148,6 @@ func (s *permissionService) Request(opts CreatePermissionRequest) bool {
149 if dir == "." {
148 if dir == "." {
150 dir = s.workingDir
149 dir = s.workingDir
151 }
150 }
152− slog.Info("Requesting permission", "session_id", opts.SessionID, "tool_name", opts.ToolName, "action", opts.Action, "path", dir)
153 permission := PermissionRequest{
151 permission := PermissionRequest{
154 ID: uuid.New().String(),
152 ID: uuid.New().String(),
155 Path: dir,
153 Path: dir,