Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
tweak project_target_path
  • Loading branch information
gshank committed May 25, 2023
commit a22fb91ef00630fe4b4fcbaada76a3130fc688d3
7 changes: 2 additions & 5 deletions core/dbt/config/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -703,8 +703,5 @@ def get_macro_search_order(self, macro_namespace: str):

@property
def project_target_path(self):
if os.path.isabs(self.target_path):
return self.target_path
else:
path = os.path.join(self.project_root, self.target_path)
return path
# If target_path is absolute, project_root will not be included
return os.path.join(self.project_root, self.target_path)