Skip to content

Commit e588009

Browse files
committed
fix selector regex to also support =
1 parent e2dc737 commit e588009

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

macros/edr/dbt_artifacts/upload_dbt_invocation.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
{% do return(invocation_args_dict.selector_name) %}
109109
{% elif invocation_args_dict and invocation_args_dict.INVOCATION_COMMAND %}
110110
{% set match = modules.re.search(
111-
"--selector\s+(\S+)",
111+
"--selector(?:\s+|=)(\S+)",
112112
invocation_args_dict.INVOCATION_COMMAND
113113
) %}
114114
{% if match %}

0 commit comments

Comments
 (0)