excluded dirs

This commit is contained in:
piotr
2021-09-25 04:39:05 +02:00
parent fb00364e51
commit fa3a8d9bb7
4 changed files with 33 additions and 10 deletions

View File

@@ -465,7 +465,7 @@ func loadTextFile(path string) ([]string, error) {
var output []string
for _, line := range lines {
line = strings.TrimSpace(line)
if line != "" {
if line != "" && !strings.HasPrefix(line, "#") {
output = append(output, line)
}