mirror of
https://github.com/dbt-labs/dbt-project-evaluator.git
synced 2025-12-18 02:11:27 +00:00
Change the default to MacOS/Unix
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
-- these macros will read a user’s home environment and detect whether a computer’s operating system is Windows based or Mac/Linux, and display the right directory pattern.
|
||||
{% macro is_os_mac_or_linux() %}
|
||||
{% for val in graph.nodes.values() %}
|
||||
{{ return("/" in val.get("original_file_path","")) }}
|
||||
{{ return("\\" not in val.get("original_file_path","")) }}
|
||||
{% endfor %}
|
||||
{{ return(true) }}
|
||||
{% endmacro %}
|
||||
|
||||
Reference in New Issue
Block a user