Commit 327bd50
committed
(GH-272) Fail gracefully for Puppet Lint configuration
Previously the Puppet-Lint configuration could raise an error, thereby stopping
any puppet lint rules from working. This was due to puppet-lint.rc files
containing command params which were invalide due to puppet-lint plugin gems
not being loaded e.g. --no-trailing_comma-check
This commit changes the document validator to use the default configuration if
an error occurs loading the configuration.1 parent c486ec6 commit 327bd50
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
49 | 54 | | |
50 | 55 | | |
51 | 56 | | |
| |||
0 commit comments