Skip to content

Commit

Permalink
Only output customization blob on request
Browse files Browse the repository at this point in the history
  • Loading branch information
Kagemaru committed May 23, 2024
1 parent 97df162 commit 25b14b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/customization_output.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def self.puts_and_log(...)
end

def puts_and_log
return if ENV['CUSTOMIZATION_OUTPUT']
return unless ActiveRecord::Type::Boolean.new.cast(ENV['CUSTOMIZATION_OUTPUT'])

puts to_s # rubocop:disable Rails/Output
Rails.logger.info to_s
Expand Down

0 comments on commit 25b14b3

Please sign in to comment.