You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When applied to a Windows node, it leads to the following output:
Notice: /Stage[main]/Dirtree_test/File[D:\foo]/ensure: created
Notice: /Stage[main]/Dirtree_test/File[D:\foo\bar]/ensure: created
Notice: /Stage[main]/Dirtree_test/File[D:\foo\bar\baz]/ensure: created
Which means that dirtree modifies its input. This should not happen. It's perfectly fine on Windows to use '/' as a path separator. There's no need to replace '/' with '\\'.
The text was updated successfully, but these errors were encountered:
I tend to agree with you, but there are some certain edge cases in which the \ separator is required. For example scheduled tasks or DSC resources. I'm not certain those edge cases matter in this context, so I'll consider making this change.
Given the following example class:
When applied to a Windows node, it leads to the following output:
Which means that dirtree modifies its input. This should not happen. It's perfectly fine on Windows to use '/' as a path separator. There's no need to replace '/' with '\\'.
The text was updated successfully, but these errors were encountered: