Filter files with multiple suffixes in stage deploy (#4403)
This commit is contained in:
Родитель
e202a94cab
Коммит
3a8c6a9426
|
@ -116,7 +116,9 @@ def deploy(
|
|||
for p in paths_matching_name_pattern(
|
||||
path, sql_dir, None, files=["*.sql", "*.py"]
|
||||
)
|
||||
if p.suffix in [".sql", ".py"] and p.name != "checks.sql"
|
||||
if p.suffix in [".sql", ".py"]
|
||||
and p.name != "checks.sql"
|
||||
and len(p.suffixes) == 1
|
||||
]
|
||||
)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче