felangel / felangel/mason

New lines in templates

Open
#683 4 comments 4 reactions 0 assignees View on GitHub
bug
Dominant language
Dart
Stars
1.1k
Forks
113
PR merge metrics
No merged PRs in 30d

Description

Im having trouble with new lines and empty lines when writing templates for mason.

For example:

Given `a` is `false` and `b` is `false`

Desired Output:
Empty file.

Given `a` is `false` and `b` is `true`

Desired Output:
```
B
```

Given `a` is `true` and `b` is `false`

Desired Output:
```
A
```

Given `a` is `true` and `b` is `true`

Desired Output:
```
A
B
```

How would the template of this scenario look like?

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.