Skip to content

Commit

Permalink
Merge pull request #89 from Azure/branch-240307-fix-lint-bug
Browse files Browse the repository at this point in the history
fix lint
  • Loading branch information
ms-henglu authored Mar 7, 2024
2 parents 39095ca + 07f7b28 commit 4d3ac35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hcl/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ func skipJustAttributesDiags(diags hcl.Diagnostics) hcl.Diagnostics {
result := hcl.Diagnostics{}
for _, diag := range diags {
if !regexp.MustCompile(BlockNotAllowed).MatchString(diag.Error()) {
result.Append(diag)
result = result.Append(diag)
}
}

Expand Down

0 comments on commit 4d3ac35

Please sign in to comment.