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 b5209a6 commit 28559cfCopy full SHA for 28559cf
lib/puppet-lint/optparser.rb
@@ -143,7 +143,7 @@ def self.build(args = [])
143
144
unless args.include?('--no-config')
145
opt_parser.load('/etc/puppet-lint.rc')
146
- if ENV.key?('HOME') && File.readable?(Dir.home)
+ if File.readable?(Dir.home)
147
home_dotfile_path = File.expand_path('~/.puppet-lint.rc')
148
opt_parser.load(home_dotfile_path) if File.readable?(home_dotfile_path)
149
end
0 commit comments