remove # case

This commit is contained in:
Mark McGranaghan
2012-10-07 08:28:35 -07:00
parent 580225af65
commit b16f814be0
3 changed files with 1 additions and 39 deletions

View File

@@ -192,7 +192,7 @@ func main() {
indexLines := strings.Split(string(indexBytes), "\n")
indexNames := make([]string, 0)
for _, indexLine := range indexLines {
if indexLine != "" && !strings.Contains(indexLine, "#") {
if indexLine != "" {
indexNames = append(indexNames, indexLine)
}
}