Skip to content

Commit

Permalink
Merge pull request #347 from ekohl/make-lint-fatal-again
Browse files Browse the repository at this point in the history
Configure puppet-lint to fail on warnings again
  • Loading branch information
michaeltlombardi authored Jan 11, 2022
2 parents a4f45bc + ed2520d commit 7aae63b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/puppetlabs_spec_helper/rake_tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@
# Must clear as it will not override the existing puppet-lint rake task since we require to import for
# the PuppetLint::RakeTask
Rake::Task[:lint].clear
PuppetLint.configuration.fail_on_warnings = true
# Utilize PuppetLint global configuration so that these settings can be tweaked by
# spec_helper.rb in an individual module
PuppetLint.configuration.relative = true
Expand Down

0 comments on commit 7aae63b

Please sign in to comment.