mirror of https://github.com/hashicorp/terraform
Previously we were trying to access a field of the analysis object before checking if analysis produced errors. The analysis function usually returns a nil analysis on error, so this would result in a panic whenever that happened. Now we'll dereference the analysis object pointer only after checking for errors, so we'll get a chance to report the analysis error to the user.pull/21043/head
parent
1bb47ab9a5
commit
d7f23f0beb
Loading…
Reference in new issue