dbt-project-evaluator
dbt-project-evaluator copied to clipboard
Wrong recommendation to change the file path on Windows
Describe the bug
A person is reporting that running the package returns the following:
RESOURCE_NAME: ba01_bbprod.demand_order_item
CURRENT_FILE_PATH: models\staging\ba01_bbprod\src_bbprod.yml
CHANGE_FILE_PATH_TO: models/staging/ba01_bbprod/models\staging\ba01_bbprod\src_bbprod.yml
This looks like an issue handling /
vs \
for separating directories for Unix based OSes vs Windows
It looks like we should be able to check the env var OSTYPE
to modify the behavior between Windows and the rest. SO link.
I will work on a solution for this!