felangel / felangel/mason

New lines in templates

Abierto
#683 4 comentarios 4 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Dart
Estrellas
1.1k
Forks
113
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.