Fix linter errors by Ryooooooga · Pull Request #1945 · jesseduffield/lazygit
Fix warnings that appeared in the latest golangci-lint.