Skip to content

Commit 9cb92b8

Browse files
committed
fix test
1 parent a38ca6b commit 9cb92b8

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
@@ -52,6 +52,10 @@ def dbt(
5252
ctx.obj = functools.partial(create, project_dir=Path.cwd(), profile=profile, target=target)
5353

5454
if not ctx.invoked_subcommand:
55+
if profile or target:
56+
# trigger a project load to validate the specified profile / target
57+
ctx.obj()
58+
5559
click.echo(
5660
f"No command specified. Run `{ctx.info_name} --help` to see the available commands."
5761
)

0 commit comments

Comments
 (0)