mirror of
https://github.com/wagoodman/dive
synced 2026-03-14 14:25:50 +01:00
Fix linter S1039: unnecessary use of fmt.Sprintf (gosimple)
https://github.com/wagoodman/dive/runs/526866415#step:7:14
This commit is contained in:
parent
86ac01b25f
commit
f5b5a42a3d
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue