Skip to content

Commit dfd8b9d

Browse files
committed
Use EXCLUDE_PATHS in yamllint task
This allows users to set exclude paths for yamllint via the environment variable EXCLUDE_PATHS.
1 parent 3e33cb0 commit dfd8b9d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ PuppetSyntax.hieradata_paths = ps_hieradata_paths
6262

6363
YamlLint::RakeTask.new do |yamllint|
6464
yamllint.paths = yl_paths
65+
yamllint.exclude_paths = exclude_paths
6566
end
6667

6768
Rake::Task[:spec_prep].enhance [:generate_fixtures]

0 commit comments

Comments
 (0)