mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-03 10:31:59 +00:00
words: group some scales, support comments
Not sure how we missed mixolydian. Updates #1235 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
@@ -49,7 +49,7 @@ func parseWords(txt []byte) []string {
|
||||
if i != -1 {
|
||||
word, txt = word[:i], txt[i+1:]
|
||||
}
|
||||
if word := strings.TrimSpace(string(word)); word != "" {
|
||||
if word := strings.TrimSpace(string(word)); word != "" && word[0] != '#' {
|
||||
ret = append(ret, word)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user