diff --git a/core/dbt/cli/example.py b/core/dbt/cli/example.py index 5bba0d6e3c7..bfdbe65fba5 100644 --- a/core/dbt/cli/example.py +++ b/core/dbt/cli/example.py @@ -2,8 +2,6 @@ from dbt.config.runtime import load_profile, load_project if __name__ == "__main__": - project_dir = "/Users/chenyuli/git/jaffle_shop" - # Bypass cli group context configuration entirely and invoke deps directly cli_args = ["run", "--project-dir", project_dir] # initialize the dbt runner @@ -12,6 +10,7 @@ res, success = dbt.invoke(cli_args) # preload profile and project + project_dir = "/Users/chenyuli/git/jaffle_shop" profile = load_profile(project_dir, {}, "testing-postgres") project = load_project(project_dir, False, profile, {})