Skip to content

Commit

Permalink
fix protected_abs_paths
Browse files Browse the repository at this point in the history
  • Loading branch information
emilieschario committed Jan 25, 2020
1 parent 105dc00 commit 199b1ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/dbt/task/clean.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def __is_protected_path(self, path):
abs_path = os.path.abspath(path)
protected_paths = self.config.source_paths + \
self.config.test_paths + ['.']
protected_abs_paths = [os.path.abspath for p in protected_paths]
protected_abs_paths = [os.path.abspath(p) for p in protected_paths]
return abs_path in set(protected_abs_paths) or \
self.__is_project_path(abs_path)

Expand Down

0 comments on commit 199b1ed

Please sign in to comment.