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

@@ -45,8 +45,7 @@ func (c *ApplyCommand) 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.Apply
view = views.NewApply(args.ViewType, c.Destroy, c.View)
view := views.NewApply(args.ViewType, c.Destroy, c.View)
if diags.HasErrors() {
view.Diagnostics(diags)