Skip to content

Commit

Permalink
fix: cant exclude variables.tf, its too generic (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
GabeL7r authored Oct 29, 2019
1 parent a6566e0 commit 977175a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func showModuleMarkdown(module *tfconfig.Module) {
return string(j), err
},
"skip": func(p tfconfig.SourcePos) bool {
blacklist := []string{"environment.tf.json", "global-variables.tf.json", "account-variables.tf.json", "variables.tf"}
blacklist := []string{"environment.tf.json", "global-variables.tf.json", "account-variables.tf.json"}

for _, b := range blacklist {
if strings.HasSuffix(p.Filename, b) {
Expand Down

0 comments on commit 977175a

Please sign in to comment.