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 hcl.Decode(p, rules)
|
||||||
return err
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue