linter fixes

This commit is contained in:
Ruslan Gilyazetdinov 2021-02-02 10:56:29 +03:00
parent 232dc7b7fa
commit bf4370bc3a

View file

@ -122,9 +122,9 @@ func viewRun(opts *ViewOptions) error {
content = rendered
}
}
out += fmt.Sprintf("%s", content)
out += content
if opts.Filename == "" {
out += fmt.Sprintf("\n\n")
out += "\n\n"
}
outs = append(outs, out)