Skip to content

Commit

Permalink
add nolint for warning found
Browse files Browse the repository at this point in the history
  • Loading branch information
cce committed Nov 19, 2024
1 parent c65c3a9 commit f567965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/transactions/logic/assembler.go
Original file line number Diff line number Diff line change
Expand Up @@ -2269,7 +2269,7 @@ func define(ops *OpStream, tokens []token) *sourceError {
} else {
delete(ops.macros, name) // remove new macro that caused cycle
}
return tokens[1].errorf("macro expansion cycle discovered: %s", strings.Join(found, " -> "))
return tokens[1].errorf("macro expansion cycle discovered: %s", strings.Join(found, " -> ")) //nolint:gosec // false positive, len(tokens) >= 3
}
return nil
}
Expand Down

0 comments on commit f567965

Please sign in to comment.