diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-09-08 23:39:40 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-09-08 23:39:40 -0700 |
commit | 979a46f33856eee18f6334396935b9025b37d221 (patch) | |
tree | b6ec820fc30c51dada116dfa07890e3efa5a751a /lib | |
parent | 4a288201d1290a8adf06febbdcd836d88e8da42f (diff) | |
download | mixlib-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')
-rw-r--r-- | lib/mixlib/log.rb | 2 |
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 |