fixup! handle when hcl parser panics

This commit is contained in:
Mahmood Ali 2020-08-25 11:28:55 -04:00
parent 18632955f2
commit c6a7734ee7
1 changed files with 1 additions and 2 deletions

View File

@ -321,6 +321,5 @@ func hclDecode(p *Policy, rules string) (err error) {
} }
}() }()
err = hcl.Decode(p, rules) return hcl.Decode(p, rules)
return err
} }