allow for pending sections
This commit is contained in:
parent
ebe6383f98
commit
da93d47c1f
@ -40,7 +40,7 @@ func main() {
|
|||||||
indexNamesAll := strings.Split(string(indexBytes), "\n")
|
indexNamesAll := strings.Split(string(indexBytes), "\n")
|
||||||
indexNames := make([]string, 0)
|
indexNames := make([]string, 0)
|
||||||
for _, indexName := range indexNamesAll {
|
for _, indexName := range indexNamesAll {
|
||||||
if (indexName != "") && !strings.Contains(indexName, "#") {
|
if indexName != "" && !strings.Contains(indexName, "#") && !strings.Contains("~") {
|
||||||
indexNames = append(indexNames, indexName)
|
indexNames = append(indexNames, indexName)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user