1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-05-31 23:19:40 +02:00

Fix linter warnings

These started to pop up in my editor after I installed an update of gopls, I
think. It's unfortunate that we don't see them on CI.
This commit is contained in:
Stefan Haller 2024-03-01 13:32:16 +01:00
parent fe7d1847b7
commit e3809f3111
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)
if err != nil {
return err
}
context := self.c.Contexts().CustomPatchBuilder

View File

@ -99,7 +99,7 @@ func GetCommitListDisplayStrings(
}
}
} 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