fixup! handle when hcl parser panics
This commit is contained in:
parent
18632955f2
commit
c6a7734ee7
|
@ -321,6 +321,5 @@ func hclDecode(p *Policy, rules string) (err error) {
|
|||
}
|
||||
}()
|
||||
|
||||
err = hcl.Decode(p, rules)
|
||||
return err
|
||||
return hcl.Decode(p, rules)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue