We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 229b9d7 commit d1187e5Copy full SHA for d1187e5
.rubocop_todo.yml
@@ -459,11 +459,6 @@ Style/Encoding:
459
- 'lib/puppet/type/package.rb'
460
- 'lib/puppet/util/windows/service.rb'
461
462
-# This cop supports safe auto-correction (--auto-correct).
463
-Style/ExpandPathArguments:
464
- Exclude:
465
- - 'lib/puppet/util/libuser.rb'
466
-
467
# This cop supports safe auto-correction (--auto-correct).
468
Style/ExplicitBlockArgument:
469
Enabled: false
lib/puppet/util/libuser.rb
@@ -2,7 +2,7 @@
2
3
module Puppet::Util::Libuser
4
def self.getconf
5
- File.expand_path("../libuser.conf", __FILE__)
+ File.expand_path('libuser.conf', __dir__)
6
end
7
8
def self.getenv
0 commit comments