Closed blindelectron closed 4 months ago
chezmoi is correct here. Lines in .chezmoiignore
files are filepath globs as understood by bmatcuk/doublestar and }}
is not a valid pattern.
Note the extra }}
at the end of the {{ end }}
template statement on the last line.
my god, I am such an idiot, didn't even notice those, oops I guess thats what I get for not putting my screen reader into the coding profile.
No worries, glad that the problem is solved :)
Describe the bug
When trying to ignore files while the current operating system is windows. Chezmoi throws an invalid pattern error at the end of the if statement.
To reproduce
Add .chezmoiignore to the source state with the following contents:
Expected behavior
Chezmoi will ignore the listed files and folders if the os is not windows.
Output of command with the
--verbose
flagOutput of
chezmoi doctor