Skip to content

Commit d1187e5

Browse files
(PUP-11767) Fix ExpandPathArguments and remove from rubocop_todo
1 parent 229b9d7 commit d1187e5

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

.rubocop_todo.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -459,11 +459,6 @@ Style/Encoding:
459459
- 'lib/puppet/type/package.rb'
460460
- 'lib/puppet/util/windows/service.rb'
461461

462-
# This cop supports safe auto-correction (--auto-correct).
463-
Style/ExpandPathArguments:
464-
Exclude:
465-
- 'lib/puppet/util/libuser.rb'
466-
467462
# This cop supports safe auto-correction (--auto-correct).
468463
Style/ExplicitBlockArgument:
469464
Enabled: false

lib/puppet/util/libuser.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module Puppet::Util::Libuser
44
def self.getconf
5-
File.expand_path("../libuser.conf", __FILE__)
5+
File.expand_path('libuser.conf', __dir__)
66
end
77

88
def self.getenv

0 commit comments

Comments
 (0)