Create folder if condition is met #1695
-
I want to create a folder if a certain condition is met. Currently I've got a solution that works on Mac, but I get an error on Windows. I don't really think it's a bug (but if it is, we can transfer to issues), but rather that I can't find out from the docs how to do it properly. The crus is that I want to have a
It all works fine on MacOS, but on Windows it generates an error, the important part being:
Here's the entire error message - I run copier with
(Maybe this is related: https://github.com/orgs/copier-org/discussions/885) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I also tried putting a conditonal statement in the |
Beta Was this translation helpful? Give feedback.
-
Double quotes are invalid path characters on the annoying operating system. Try single quotes instead :) (your second solution) |
Beta Was this translation helpful? Give feedback.
Double quotes are invalid path characters on the annoying operating system. Try single quotes instead :) (your second solution)