summaryrefslogtreecommitdiff
path: root/lib/mixlib/log.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-09-08 23:39:40 -0700
committerTim Smith <tsmith84@gmail.com>2020-09-08 23:39:40 -0700
commit979a46f33856eee18f6334396935b9025b37d221 (patch)
treeb6ec820fc30c51dada116dfa07890e3efa5a751a /lib/mixlib/log.rb
parent4a288201d1290a8adf06febbdcd836d88e8da42f (diff)
downloadmixlib-log-979a46f33856eee18f6334396935b9025b37d221.tar.gz
Replace __FILE__ with __dir__ and other minor chefstyle fixes
A few new chefstyle rules to improve readability here. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/mixlib/log.rb')
-rw-r--r--lib/mixlib/log.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mixlib/log.rb b/lib/mixlib/log.rb
index cfffb48..e2eb7eb 100644
--- a/lib/mixlib/log.rb
+++ b/lib/mixlib/log.rb
@@ -118,7 +118,7 @@ module Mixlib
if new_level.nil?
LEVEL_NAMES[logger.level]
else
- self.level = (new_level)
+ self.level = new_level
end
end