Skip to content

Commit

Permalink
Remove unneeded difinition
Browse files Browse the repository at this point in the history
  • Loading branch information
nakabonne committed May 3, 2020
1 parent fa08efe commit 7fd50e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/gui/item/source_files.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func NewSourceFiles(rootDir string) *SourceFiles {
return s
}

func (s *SourceFiles) SetKeybinds(globalKeybind func(event *tcell.EventKey), selectAction func(node *tview.TreeNode, path string), unselectAction func(node *tview.TreeNode, path string)) {
func (s *SourceFiles) SetKeybinds(globalKeybind func(event *tcell.EventKey), selectAction, unselectAction func(node *tview.TreeNode, path string)) {
s.SetSelectedFunc(func(node *tview.TreeNode) {
ref, ok := node.GetReference().(string)
if !ok {
Expand Down
2 changes: 1 addition & 1 deletion pkg/oscommand/oscommand.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (o *OSCommand) openCommand() string {
if err != nil {
o.Logger.Error("failed to get path to vi", err)
}
executable = string(vi)
executable = vi
}
if executable == "" {
// TODO: Populate platform defaults,
Expand Down

0 comments on commit 7fd50e6

Please sign in to comment.