de-linting

This commit is contained in:
James Bardin
2021-08-31 17:33:26 -04:00
parent 34325d5b66
commit 863963e7a6
24 changed files with 24 additions and 178 deletions

View File

@@ -26,8 +26,7 @@ func (c *RefreshCommand) Run(rawArgs []string) int {
// Instantiate the view, even if there are flag errors, so that we render
// diagnostics according to the desired view
var view views.Refresh
view = views.NewRefresh(args.ViewType, c.View)
view := views.NewRefresh(args.ViewType, c.View)
if diags.HasErrors() {
view.Diagnostics(diags)