reidmorrison / rails_semantic_logger

Rails Semantic Logger replaces the Rails default logger with Semantic Logger
https://logger.rocketjob.io/rails
Apache License 2.0
320 stars 114 forks source link

Fix if-else mismatched indentations warning #180

Closed bcrivelaro closed 1 year ago

bcrivelaro commented 1 year ago

Issue # (if available)

Fixes the warning regarding a mismatched indentation at lib/rails_semantic_logger/action_mailer/log_subscriber.rb:

warning: mismatched indentations at 'else' with 'if' at 20

You can run RUBYOPT='-w' bundle exec rake test to check the warning mentioned above.

Description of changes

Only indentation :) We have a project that raises errors on warning so this is breaking our CI.