We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a94523 commit a6026ceCopy full SHA for a6026ce
2 files changed
.ci/blacklist.txt
@@ -1,3 +1,7 @@
1
+##################
2
+# Test blacklist #
3
4
+
5
ad.*
6
ads.*
7
banner.*
dnscrypt-proxy/common.go
@@ -145,7 +145,7 @@ func StringStripSpaces(str string) string {
145
146
func TrimAndStripInlineComments(str string) string {
147
if idx := strings.LastIndexByte(str, '#'); idx >= 0 {
148
- if idx == 0 {
+ if idx == 0 || str[0] == '#' {
149
return ""
150
}
151
if prev := str[idx-1]; prev == ' ' || prev == '\t' {
0 commit comments