Skip to content

Commit

Permalink
Make it possible to emit version
Browse files Browse the repository at this point in the history
  • Loading branch information
nakabonne committed May 2, 2020
1 parent 17abf11 commit 1fdf3e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/golangcilint/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@ func (r *Runner) GetVersion() string {
func (r *Runner) execute(args ...string) ([]byte, error) {
cmd := exec.Command(r.Executable, args...)
cmd.Dir = r.dir
return cmd.Output()
return cmd.CombinedOutput()
}
1 change: 1 addition & 0 deletions pkg/gui/item/results.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,6 @@ func (r *Results) addChildren(node *tview.TreeNode, issues []golangcilint.Issue)
child.AddChild(grandchild)
}
child.SetExpanded(false)
// TODO: Append source lines as children.
}
}

0 comments on commit 1fdf3e8

Please sign in to comment.