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 b08cbb1 commit 50d877fCopy full SHA for 50d877f
CHANGELOG.md
@@ -1,6 +1,7 @@
1
### 2.4.0 (Next)
2
- Fix `rubocop-performance` inclusion warning.
3
- Improve recognition of Ruby support files.
4
+- Fix `file` task for no settings override usage.
5
- Minimum Ruby version increased to 3.0.
6
7
### 2.3.1
lib/puppet-check/tasks.rb
@@ -16,7 +16,8 @@ def initialize
16
namespace :puppetcheck do
17
desc 'Execute Puppet-Check file checks'
18
task :file, [:settings] do |_, wrapped_settings|
19
- PuppetCheck.new.run(wrapped_settings[:settings], Dir.glob('*'))
+ wrapped_settings = wrapped_settings[:settings] || {}
20
+ PuppetCheck.new.run(wrapped_settings, Dir.glob('*'))
21
end
22
23
# rspec and rspec-puppet tasks
0 commit comments