Skip to content

Conversation

@glennsarti
Copy link
Contributor

Fixes #189

Previously after a call to fix_validation_errors, many validation errors came
in as hints not errors. This was due to PuppetLint not resetting the
PuppetLint.configuration.fix setting between calls. This commit updates the
validation provider to reset this setting each call. This commit also adds
tests for this scenario.

@glennsarti glennsarti requested a review from jpogran as a code owner December 30, 2020 02:39
@jpogran
Copy link
Contributor

jpogran commented Jan 5, 2021

@glennsarti can your rebase with main and push so we can have a CI run for this with the new github actions stuff

Previously after a call to fix_validation_errors, many validation errors came
in as hints not errors.  This was due to PuppetLint not resetting the
`PuppetLint.configuration.fix` setting between calls.  This commit updates the
validation provider to reset this setting each call.  This commit also adds
tests for this scenario.
@glennsarti
Copy link
Contributor Author

@jpogran Done. You'll need to remove the Appveyor integration though as I (rightly) have no access there.

@jpogran jpogran merged commit 83b8652 into puppetlabs:main Jan 6, 2021
@glennsarti glennsarti deleted the fix-puppet-lint branch January 19, 2021 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Puppet-Lint warnings/errors show as hints

2 participants