felangel / felangel/mason

fix: Generating files from array not working

Open
#1,267 6 comments 0 reactions 1 assignee Claimed by @felangel View on GitHub
question waiting for response
Dominant language
Dart
Stars
1.1k
Forks
113
PR merge metrics
No merged PRs in 30d

Description

As stated above, I'm unable to generate an array of files following the same structure as the [todo example](https://github.com/felangel/mason/tree/master/bricks/todos)

This is the string I'm using to generate the file list:
```
{{#branches}}{{#snakeCase}}{{{.}}}{{/snakeCase}}_branch.dart{{/branches}}
```

This is the result
image

When using double moustache dot `{{.}}` instead of triple moustache `{{{.}}}`, I get the following result:

image

This is the closest I got, but well... The picture talks for itself.

What am I doing wrong? I'm sure I'm following the same pattern as in the todos example.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.