1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-23 00:39:13 +02:00

rename OSCommand field to os

This commit is contained in:
Jesse Duffield
2022-02-06 13:42:17 +11:00
parent d82f175e79
commit cd31a762b9
13 changed files with 32 additions and 22 deletions

View File

@ -79,7 +79,7 @@ func (gui *Gui) handleCopyPullRequestURLPress() error {
return gui.c.Error(err)
}
gui.c.LogAction(gui.c.Tr.Actions.CopyPullRequestURL)
if err := gui.OSCommand.CopyToClipboard(url); err != nil {
if err := gui.os.CopyToClipboard(url); err != nil {
return gui.c.Error(err)
}