Open mitchhentgesspotify opened 4 months ago
$ git spr update > git rev-parse --show-toplevel 5:01PM WRN ../../../runner/work/spr/spr/github/githubclient/client.go:90 > failed to read gh cli config file error="failed to open gh cli config file: open /Users/mhentges/.config/gh/hosts.yml: no such file or directory" > git fetch > git rebase origin/main --autostash > github fetch pull requests panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x102485228] goroutine 1 [running]: github.com/ejoffe/spr/github/githubclient.(*client).GetInfo(0x1400018c138, {0x1026704f0?, 0x10298d460?}, {0x102670410, 0x1400018c018}) /Users/runner/work/spr/spr/github/githubclient/client.go:200 +0x138 github.com/ejoffe/spr/spr.(*stackediff).fetchAndGetGitHubInfo(0x1400019e180, {0x1026704f0, 0x10298d460}) /Users/runner/work/spr/spr/spr/spr.go:490 +0x14c github.com/ejoffe/spr/spr.(*stackediff).UpdatePullRequests(0x1400019e180, {0x1026704f0?, 0x10298d460}, {0x10298d460, 0x0, 0x0}, 0x0) /Users/runner/work/spr/spr/spr/spr.go:137 +0x70 main.main.func4(0x140001a65a0?) /Users/runner/work/spr/spr/cmd/spr/main.go:161 +0x100 github.com/urfave/cli/v2.(*Command).Run(0x140001a65a0, 0x140001ae400) /Users/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.8.1/command.go:169 +0x4f8 github.com/urfave/cli/v2.(*App).RunContext(0x140001da000, {0x1026704f0?, 0x10298d460}, {0x140000b8000, 0x2, 0x2}) /Users/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.8.1/app.go:341 +0x85c github.com/urfave/cli/v2.(*App).Run(...) /Users/runner/go/pkg/mod/github.com/urfave/cli/v2@v2.8.1/app.go:247 main.main() /Users/runner/work/spr/spr/cmd/spr/main.go:230 +0x1208
Let me know what other information I can provide to help diagnose this.
Let me know what other information I can provide to help diagnose this.