From 9a423c388ddf7185a22d8515a37a6f9a16318d82 Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Tue, 19 Dec 2023 16:40:06 +0100 Subject: [PATCH] Remove unused function I think this is a left-over from before we had the new commit message panel. It no longer makes sense to add a newline to the commit subject. --- pkg/integration/components/commit_message_panel_driver.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkg/integration/components/commit_message_panel_driver.go b/pkg/integration/components/commit_message_panel_driver.go index 52ad60815..b3dda6a04 100644 --- a/pkg/integration/components/commit_message_panel_driver.go +++ b/pkg/integration/components/commit_message_panel_driver.go @@ -38,12 +38,6 @@ func (self *CommitMessagePanelDriver) SwitchToDescription() *CommitDescriptionPa return &CommitDescriptionPanelDriver{t: self.t} } -func (self *CommitMessagePanelDriver) AddNewline() *CommitMessagePanelDriver { - self.t.press(self.t.keys.Universal.Confirm) - - return self -} - func (self *CommitMessagePanelDriver) Clear() *CommitMessagePanelDriver { // clearing multiple times in case there's multiple lines // (the clear button only clears a single line at a time)