fix: resolve gofumpt and staticcheck lint errors
This commit is contained in:
@@ -901,9 +901,10 @@ func matchDecorator(line string) (string, bool) {
|
||||
for i := 0; i < len(rest); i++ {
|
||||
ch := rest[i]
|
||||
if quote != 0 {
|
||||
if ch == '\\' {
|
||||
switch ch {
|
||||
case '\\':
|
||||
i++
|
||||
} else if ch == quote {
|
||||
case quote:
|
||||
quote = 0
|
||||
}
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user