Skip to content

Commit

Permalink
fix conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
rariyama committed Feb 19, 2024
1 parent 1ba7e3c commit 398cd0b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions core/dbt/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,12 +456,6 @@ def deps(ctx, **kwargs):
message=f"Version is required in --add-package when a package when source is {flags.SOURCE}",
option_name="--add-package",
)
else:
if flags.DRY_RUN:
raise BadOptionUsage(
message="Invalid flag `--dry-run` when not using `--add-package`.",
option_name="--dry-run",
)
with DepsTask(flags, ctx.obj["project"]) as task:
results = task.run()
success = task.interpret_results(results)
Expand Down

0 comments on commit 398cd0b

Please sign in to comment.