Dir.glob subdirectory alternation issue
Created by
MattKern1
This is a demonstration of a bug with Dir.glob
The Dir.glob method omits results from subdirectories listed in an alternation when that alternation is preceded by a recursive directory pattern (**/).
I have reproduced this in ruby 2.7.2 and ruby 3.0.0.