Skip to content

Commit

Permalink
Fix: using resource_type to be compatible with all node types
Browse files Browse the repository at this point in the history
  • Loading branch information
david-whimsical committed Sep 15, 2023
1 parent a52b320 commit de4e935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbt_invoke/properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ def _structure_property_file_dict(
# when not already present
if template_yml and resource_type in template_yml:
_apply_template(
property_file_dict['models'][0], template_yml['model']
property_file_dict[resource_type_plural][0], template_yml[resource_type]
)
# Get the sub-dictionaries of each existing column
resource_type_plural = _SUPPORTED_RESOURCE_TYPES[resource_type]
Expand Down

0 comments on commit de4e935

Please sign in to comment.