Skip to content

Commit d3864a8

Browse files
fix: resolve to DBT_PROFILES_DIR if specified without joining with project_dir
see AltimateAI#1554 (comment)
1 parent 5735fa6 commit d3864a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dbt_core_integration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def default_profiles_dir(project_dir):
217217
profiles_dir = os.path.expanduser(os.environ["DBT_PROFILES_DIR"])
218218
if os.path.isabs(profiles_dir):
219219
return os.path.normpath(profiles_dir)
220-
return os.path.normpath(os.path.join(project_dir, profiles_dir))
220+
return os.path.normpath(os.path.join(profiles_dir))
221221
project_profiles_file = os.path.normpath(os.path.join(project_dir, "profiles.yml"))
222222
return (
223223
project_dir

0 commit comments

Comments
 (0)