Skip to content

Commit

Permalink
Fix linter warnings (jesseduffield#3351)
Browse files Browse the repository at this point in the history
These started to pop up in my editor after I installed an update of
gopls, I think.
  • Loading branch information
stefanhaller authored Mar 2, 2024
2 parents fe7d184 + e3809f3 commit afb9980
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions pkg/gui/controllers/helpers/patch_building_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion pkg/gui/presentation/commits.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit afb9980

Please sign in to comment.