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 /mixlib-log.gemspec | |
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 'mixlib-log.gemspec')
-rw-r--r-- | mixlib-log.gemspec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mixlib-log.gemspec b/mixlib-log.gemspec index 3f51174..310bc2b 100644 --- a/mixlib-log.gemspec +++ b/mixlib-log.gemspec @@ -1,4 +1,4 @@ -$:.unshift File.expand_path("../lib", __FILE__) +$:.unshift File.expand_path("lib", __dir__) require "mixlib/log/version" Gem::Specification.new do |gem| |