We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aa1e18 commit 0afcfefCopy full SHA for 0afcfef
lex.go
@@ -345,7 +345,7 @@ func (ll *LuaLexer) Register(s LexScanner) []string {
345
}
346
347
348
-//nolint:funlen,gocognit,gocyclo
+//nolint:funlen,gocognit,gocyclo,nosec
349
func (ll *LuaLexer) Lex(matchedToken string) <-chan NgxToken {
350
tokenCh := make(chan NgxToken)
351
@@ -357,7 +357,8 @@ func (ll *LuaLexer) Lex(matchedToken string) <-chan NgxToken {
357
var inQuotes bool
358
359
// special handling for'set_by_lua_block' directive
360
- if matchedToken == "set_by_lua_block" { // #nosec G101
+ // #nosec G101
361
+ if matchedToken == "set_by_lua_block" {
362
arg := ""
363
for {
364
if !ll.s.Scan() {
0 commit comments