Skip to content

Commit 905eb64

Browse files
committed
Fix rubocop Style/ExpandPathArguments
Addressing: openscap.gemspec:2:14: C: Style/ExpandPathArguments: Use expand_path('lib/openscap/version', __dir__) instead of expand_path('../lib/openscap/version', __FILE__). require File.expand_path('../lib/openscap/version', __FILE__) ^^^^^^^^^^^
1 parent 0265abd commit 905eb64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openscap.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
require 'date'
2-
require File.expand_path('../lib/openscap/version', __FILE__)
2+
require File.expand_path('lib/openscap/version', __dir__)
33

44
GEMSPEC = Gem::Specification.new do |gem|
55
gem.name = 'openscap'

0 commit comments

Comments
 (0)