Closed yongzhenlow closed 8 years ago
Add a length > 1 check before adding curly braces to searchPath
This commit fixes an issue where passing an array contain a single path to the searchPath option causes the error "File not found with singular glob", due to the curly braces added.
Please add a failing test that passes with the fix. Thanks.
Why was it closed?
Add a length > 1 check before adding curly braces to searchPath
This commit fixes an issue where passing an array contain a single path to the searchPath option causes the error "File not found with singular glob", due to the curly braces added.