Change the default to MacOS/Unix

This commit is contained in:
Benoit Perigaud
2024-09-02 16:33:21 +02:00
parent 41c9a26061
commit e7f241a604

View File

@@ -1,7 +1,7 @@
-- these macros will read a users home environment and detect whether a computers 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 %}