Skip to content

Commit

Permalink
Bug/fixed parsing of dbt cloud env variables (#260)
Browse files Browse the repository at this point in the history
* fixed case when dbt_cloud metadata have ''

* corrected spacing

---------

Co-authored-by: lisandrococca <[email protected]>
  • Loading branch information
LisandroCocca and LisandroCocca authored Apr 28, 2023
1 parent b31e208 commit 139ebf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/upload_invocations.sql
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
{% endif %}

'{{ tojson(invocation_args_dict) | replace('\\', '\\\\') }}', {# invocation_args #}
'{{ tojson(dbt_metadata_envs) }}' {# dbt_custom_envs #}
'{{ tojson(dbt_metadata_envs) | replace("'", "\\'") }}' {# dbt_custom_envs #}

)
{% endset %}
Expand Down

0 comments on commit 139ebf8

Please sign in to comment.