|
|
@@ -81,11 +81,8 @@ func ReadTemplate(path string) (lines []string, err error) {
|
|
|
slines := strings.SplitSeq(sdata, "\n")
|
|
|
|
|
|
for line := range slines {
|
|
|
- if len(string(line)) > 0 {
|
|
|
- if string(line[0]) != "#" {
|
|
|
- lines = append(lines, line)
|
|
|
- }
|
|
|
- } else {
|
|
|
+ line = line + "\n"
|
|
|
+ if string(line[0]) != "#" {
|
|
|
lines = append(lines, line)
|
|
|
}
|
|
|
}
|