We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I might have found an issue, sorry if I'm wrong, but the variable keytrail in the function walkBlock is shadowed by the function argument.
func (w *Walker) walkBlock(body *hclwrite.Body, queries []query.Query, index int, keytrail []string) error { for _, block := range body.Blocks() { blockIndex := index if !queries[blockIndex].Match(block.Type()) { continue } blockIndex++ keytrail := append(keytrail, block.Type()) // Right there, should be '=' not ':='
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I might have found an issue, sorry if I'm wrong, but the variable keytrail in the function walkBlock is shadowed by the function argument.
The text was updated successfully, but these errors were encountered: