cli/pkg/cmd/pr/status
Tyler McGoffin 74cbd50d3f Restore old error functionality of prSelectorForCurrentBranch
Before this refactor, the errors emitted by ghrepo.FromURL and
rem.FindName() were suppressed. It isn't clear whether this was
intentional or not, but we've made the decision here to maintain the
original error behavior while still refactoring the return values for more
clarity. I've left a comment at each error handling block to explain this
decision.

Additionally, I've added the necessary git command stubs to the other
tests in status_test.go so that the tests are now passing.
2025-01-10 10:52:01 -08:00
..
fixtures Add cmd test for pr status with counts by state 2023-05-24 16:00:34 +02:00
http.go Use go-gh/auth package for IsEnterprise, IsTenancy, and NormalizeHostname 2024-10-15 11:56:43 -07:00
http_test.go Add ghe.com to tests describing ghec data residency 2024-10-15 12:24:41 -07:00
status.go Restore old error functionality of prSelectorForCurrentBranch 2025-01-10 10:52:01 -08:00
status_test.go Restore old error functionality of prSelectorForCurrentBranch 2025-01-10 10:52:01 -08:00