1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-04-23 12:18:51 +02:00

Fix linter warnings (#3351)

These started to pop up in my editor after I installed an update of
gopls, I think.
This commit is contained in:
Stefan Haller 2024-03-02 10:11:44 +01:00 committed by GitHub
commit afb9980ad9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 4 deletions

View File

@ -79,9 +79,6 @@ func (self *PatchBuildingHelper) RefreshPatchBuildingPanel(opts types.OnFocusOpt
} }
secondaryDiff := self.c.Git().Patch.PatchBuilder.RenderPatchForFile(path, false, false) secondaryDiff := self.c.Git().Patch.PatchBuilder.RenderPatchForFile(path, false, false)
if err != nil {
return err
}
context := self.c.Contexts().CustomPatchBuilder context := self.c.Contexts().CustomPatchBuilder

View File

@ -99,7 +99,7 @@ func GetCommitListDisplayStrings(
} }
} }
} else { } else {
getGraphLine = func(idx int) string { return "" } getGraphLine = func(int) string { return "" }
} }
// Determine the hashes of the local branches for which we want to show a // Determine the hashes of the local branches for which we want to show a