on main help sign in
fix(lint): correct typo
commitff1161c85cc86d3b883ab9c4ceaca43d24654616 authorChristian Rocha <christian@rocha.is> dateFri 30 May 2025, 00:04 (1 year ago) parent8807bfe
2 files changed+3−3
internal/permission/permission.go+2−2 internal/tui/components/core/status.go+1−1
internal/permission/permission.go+2−2
@@ -34,7 +34,7 @@ type PermissionRequest struct {
3434
3535type Service interface {
3636 pubsub.Suscriber[PermissionRequest]
37− GrantPersistant(permission PermissionRequest)
37+ GrantPersistent(permission PermissionRequest)
3838 Grant(permission PermissionRequest)
3939 Deny(permission PermissionRequest)
4040 Request(opts CreatePermissionRequest) bool
@@ -49,7 +49,7 @@ type permissionService struct {
4949 autoApproveSessions []string
5050}
5151
52−func (s *permissionService) GrantPersistant(permission PermissionRequest) {
52+func (s *permissionService) GrantPersistent(permission PermissionRequest) {
5353 respCh, ok := s.pendingRequests.Load(permission.ID)
5454 if ok {
5555 respCh.(chan bool) <- true
internal/tui/components/core/status.go+1−1
@@ -72,7 +72,7 @@ func (m statusCmp) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
7272 case util.ClearStatusMsg:
7373 m.info = util.InfoMsg{}
7474
75− // Handle persistant logs
75+ // Handle persistent logs
7676 case pubsub.Event[logging.LogMessage]:
7777 if msg.Payload.Persist {
7878 switch msg.Payload.Level {