fix: On windows path gets resolved with error because all / get replaced with \ even in closing tokens
Open
bug
customer:🦄
investigating
- Dominant language
- Dart
- Stars
- 1.1k
- Forks
- 113
- PR merge metrics
- No merged PRs in 30d
Description
**Description**
`/` that are part of the closing tokens aka `{{/foo}}` get converted to a `\` on windows when used in path.
**Steps To Reproduce**
1. Brick with `__brick__/{{#foo}}boom/baam/booz{{/foo}}/README.md`
2. Generate README.md
**Expected Behavior**
README.md should be generated at location `boom\baam\booz\` if foo is true
But instead the `/`from `{{/foo}}` gets convertet to a `\` and leads to an error
`OS Error: The system cannot find the path specified`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.