diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-09-08 23:33:52 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-09-08 23:33:52 -0700 |
commit | fbbf000d9b8259713aa2366122ac1ea10c76ae92 (patch) | |
tree | fbe875d063cfd352d54742f7d530dcbf6309f4f0 /mixlib-cli.gemspec | |
parent | 9818855311012a9be130396566a56c094b8a9e97 (diff) | |
download | mixlib-cli-fbbf000d9b8259713aa2366122ac1ea10c76ae92.tar.gz |
Replaces uses of __FILE__ with __dir__
This makes these bits easier to read
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'mixlib-cli.gemspec')
-rw-r--r-- | mixlib-cli.gemspec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mixlib-cli.gemspec b/mixlib-cli.gemspec index d36d660..cbfa973 100644 --- a/mixlib-cli.gemspec +++ b/mixlib-cli.gemspec @@ -1,4 +1,4 @@ -$:.unshift(File.dirname(__FILE__) + "/lib") +$:.unshift(__dir__ + "/lib") require "mixlib/cli/version" Gem::Specification.new do |s| |