Skip to content

Commit f303a6b

Browse files
Billy Barresefacebook-github-bot
authored andcommitted
Limit glob depth in fb_choco cookbook
Differential Revision: D66316689 fbshipit-source-id: 04a8d2a901927505f3da8b99bf9d95b9f23eea03
1 parent a387db6 commit f303a6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbooks/fb_choco/recipes/default.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
# We only want to run this if we have chocolatey is installed.
3939
unless ENV['ChocolateyInstall'].nil?
4040
ruby_friendly = ENV['ChocolateyInstall'].gsub(/\\+/, '/')
41-
::Dir.glob("#{ruby_friendly}/lib/**/*.nu*").select do |file|
41+
::Dir.glob("#{ruby_friendly}/lib/*/*.nu*").select do |file|
4242
::File.zero?(file)
4343
end.each do |empty_file|
4444
file empty_file do

0 commit comments

Comments
 (0)