Skip to content

Commit a67717e

Browse files
bradeglerverbanicm
authored andcommitted
chore: [manual] checksum updates (#50)
1 parent 4bcdde5 commit a67717e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pkg/linter/terraform_linter.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ type TerraformLinter struct{}
3535
func (tfl *TerraformLinter) FindViolations(content []byte, path string) ([]*ViolationInstance, error) {
3636
tokens, diags := hclsyntax.LexConfig(content, path, hcl.Pos{Byte: 0, Line: 1, Column: 1})
3737
if diags.HasErrors() {
38-
//nolint
39-
return nil, fmt.Errorf("error lexing hcl file contents: [%s]", diags.Error())
38+
diagMsg := diags.Error()
39+
return nil, fmt.Errorf("error lexing hcl file contents: [%s]", diagMsg)
4040
}
4141

4242
var instances []*ViolationInstance

0 commit comments

Comments
 (0)