From 40206fdc6d31b8adf8593cafd35e06a0d5eb21e1 Mon Sep 17 00:00:00 2001 From: Zeke Gabrielse Date: Mon, 12 Aug 2024 16:52:59 -0500 Subject: [PATCH] fix indent --- lib/sql_matchers/loggers/query.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sql_matchers/loggers/query.rb b/lib/sql_matchers/loggers/query.rb index 8628cf2..7bed569 100644 --- a/lib/sql_matchers/loggers/query.rb +++ b/lib/sql_matchers/loggers/query.rb @@ -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