Skip to content
This repository was archived by the owner on Sep 18, 2025. It is now read-only.

Commit ff1161c

Browse files
meowgorithmkujtimiihoxha
authored andcommitted
fix(lint): correct typo
1 parent 8807bfe commit ff1161c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

internal/permission/permission.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ type PermissionRequest struct {
3434

3535
type 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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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 {

0 commit comments

Comments
 (0)