Skip to content

Commit

Permalink
chore: add feedback from Daniel
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Schmidt <[email protected]>
  • Loading branch information
Maed223 and DanielMSchmidt committed Dec 4, 2023
1 parent 97e50af commit bd2a410
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ class Parser {
let attributes = new Array<AttributeModel>();
const parent = scope[scope.length - 1];
if (attrs) {
for (const [terraformName, att] of Object.entries(attrs)) {
for (const [terraformName, att] of Object.entries(attrs || {})) {
// nested types support computed, optional and required on attribute level
// if parent is computed, child always is computed as well
const computed =
Expand Down

0 comments on commit bd2a410

Please sign in to comment.