Skip to content

Commit

Permalink
Fix linter S1039: unnecessary use of fmt.Sprintf (gosimple)
Browse files Browse the repository at this point in the history
  • Loading branch information
abitrolly authored Mar 23, 2020
1 parent 86ac01b commit f5b5a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/ui/view/layer.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ func (v *Layer) Render() error {
width, _ := g.Size()
if v.constrainedRealEstate {
headerStr := format.RenderNoHeader(width, isSelected)
headerStr += fmt.Sprintf("\nLayer")
headerStr += "\nLayer"
_, err := fmt.Fprintln(v.header, headerStr)
if err != nil {
return err
Expand Down

0 comments on commit f5b5a42

Please sign in to comment.