Skip to content

Commit 15053c7

Browse files
committed
Also ignore lines of whitespace
1 parent 15782d6 commit 15053c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/litebastion/litebastion.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ func main() {
105105
}
106106
bs := strings.TrimSpace(string(backendsList))
107107
for _, line := range strings.Split(bs, "\n") {
108-
if line == "" || line[0] == '#' {
108+
if strings.TrimSpace(line) == "" || line[0] == '#' {
109109
continue
110110
}
111111
l, err := hex.DecodeString(line)

0 commit comments

Comments
 (0)