From e95a005e390abebc733a8d5eff69a817a81069ce Mon Sep 17 00:00:00 2001 From: kyu08 <49891479+kyu08@users.noreply.github.com> Date: Fri, 9 Aug 2024 19:16:27 +0900 Subject: [PATCH] chore: remove unnecessary if statement --- ui/components/prsidebar/approve.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/ui/components/prsidebar/approve.go b/ui/components/prsidebar/approve.go index 7060cf48..b7158797 100644 --- a/ui/components/prsidebar/approve.go +++ b/ui/components/prsidebar/approve.go @@ -39,8 +39,6 @@ func (m *Model) approve(comment string) tea.Cmd { c := exec.Command("gh", commandArgs...) err := c.Run() - if err != nil { - } return constants.TaskFinishedMsg{ SectionId: m.sectionId, SectionType: prssection.SectionType,