diff options
author | Tim Smith <tsmith@chef.io> | 2020-10-28 13:13:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-28 13:13:13 -0700 |
commit | 31f8eb6fec0a1d5724c7351a3a4285bfa40c2172 (patch) | |
tree | 6386d85cb2ecf49317c715e2b3cab4cb6a88c903 | |
parent | 441b47147b73ccaaf0708a7722d5157c4c08023a (diff) | |
parent | c5dd63dbf320ab2f52fc20df22e2b1ee74b2c946 (diff) | |
download | chef-31f8eb6fec0a1d5724c7351a3a4285bfa40c2172.tar.gz |
Merge pull request #10568 from chef/minor_comment
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | chef-config/lib/chef-config/mixin/dot_d.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chef-config/lib/chef-config/mixin/dot_d.rb b/chef-config/lib/chef-config/mixin/dot_d.rb index a4347474fe..efe5c957f1 100644 --- a/chef-config/lib/chef-config/mixin/dot_d.rb +++ b/chef-config/lib/chef-config/mixin/dot_d.rb @@ -20,6 +20,7 @@ module ChefConfig module Mixin module DotD # Find available configuration files in a `.d/` style include directory. + # Make sure we exclude anything that's not a file so we avoid directories ending in .rb (just in case) # # @api internal # @param path [String] Base .d/ path to load from. |