- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 19
Open
Description
- version: 2.3.1
- my repositories: 335
- some repos are quite large. E.g.) AWS, Terraform, ...
 
- command: fork-cleaner --token ghp_... --user exoego- I can avoid this panic by --skip-upstream-check
 
- I can avoid this panic by 
It would be great if fork-cleaner shows actionable error message instead of panic.
panic: runtime error: invalid memory address or nil pointer dereferencee
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x100c92cac]
goroutine 53 [running]:
github.com/caarlos0/fork-cleaner/v2.FindAllForks({0x100efe940, 0x101313620}, 0x140000b2f00, {0x16f5533ad?, 0x0?}, 0x0)
        github.com/caarlos0/fork-cleaner/v2/fork-cleaner.go:80 +0x38c
github.com/caarlos0/fork-cleaner/v2/internal/ui.getReposCmd.func2()
        github.com/caarlos0/fork-cleaner/v2/internal/ui/command:51 +0xbc
github.com/charmbracelet/bubbletea.(*Program).handleCommands.func1.1()
        github.com/charmbracelet/[email protected]/tea.go:268 +0x34
created by github.com/charmbracelet/bubbletea.(*Program).handleCommands.func1 in goroutine 24
        github.com/charmbracelet/[email protected]/tea.go:267 +0x110
Metadata
Metadata
Assignees
Labels
No labels