apsdehal / spaces-to-tabs

Convert spaces to tabs in your files
MIT License
5 stars 2 forks source link

No recursive glob patterns #3

Open Danielv123 opened 1 year ago

Danielv123 commented 1 year ago

Using /**/*.lua in a glob pattern does not cause it to recurse as I'd expect. Instead, I have to do this to hit all my files:

spaces-to-tabs -s 4 module/**.lua module/**/**.lua module/**/**/**.lua module/**/**/**/**.lua module/**/**/**/**/**.lua

Danielv123 commented 1 year ago

I tried to look into why it doesn't work, but glob is supposed to support globstar matching as long as noglobstar isn't set to true. Maybe an issue with the old version of glob we are using?