Skip to content

Commit

Permalink
fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
ezekg committed Aug 12, 2024
1 parent 0d54329 commit 40206fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sql_matchers/loggers/query.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def logger_proc = proc(&method(:logger))
def logger(event)
unless IGNORED_STATEMENTS.include?(event.payload[:name]) || IGNORED_STATEMENT_RE.match(event.payload[:sql])
query = event.payload[:sql].gsub(IGNORED_COMMENT_RE, '')
.squish
.squish

@queries << query
end
Expand Down

0 comments on commit 40206fd

Please sign in to comment.