summaryrefslogtreecommitdiff
path: root/mixlib-log.gemspec
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 /mixlib-log.gemspec
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 'mixlib-log.gemspec')
-rw-r--r--mixlib-log.gemspec2
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|