Skip to content

Commit

Permalink
Use --project-dir outside current dir in debug when it exists #1733
Browse files Browse the repository at this point in the history
automatic commit by git-black, original commits:
  c1b3690
  • Loading branch information
Fran Lozano authored and iknox-fa committed Feb 8, 2022
1 parent 962ed05 commit 4c7698a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/dbt/task/debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def __init__(self, args, config):
self.project_dir = args.project_dir
else:
self.project_dir = os.getcwd()
self.project_path = os.path.join(self.project_dir, 'dbt_project.yml')
self.project_path = os.path.join(self.project_dir, "dbt_project.yml")
self.cli_vars = parse_cli_vars(getattr(self.args, "vars", "{}"))

# set by _load_*
Expand Down

0 comments on commit 4c7698a

Please sign in to comment.