diff options
-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. |