Skip to content

Commit bea3558

Browse files
committed
fix test
1 parent 5c33f6e commit bea3558

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sqlmesh_dbt/cli.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ def dbt(
6464
ctx.obj = functools.partial(create, project_dir=Path.cwd(), profile=profile, target=target)
6565

6666
if not ctx.invoked_subcommand:
67+
if profile or target:
68+
# trigger a project load to validate the specified profile / target
69+
ctx.obj()
70+
6771
click.echo(
6872
f"No command specified. Run `{ctx.info_name} --help` to see the available commands."
6973
)

0 commit comments

Comments
 (0)