Cannot codemod extensionless files
grp opened this issue · comments
There's no way to specify extensionless files to codemod. This gets in the way of files used by some build systems, like BUILD or BUCK files.
Hmm, that seems like an oversight. Hopefully it'll be easy to fix.
Out of curiosity, what happens when you run codemod.py --extensions BUCK
? #lazyweb
Doesn't find anything, sadly.
Fix isn't good enough - needs wild-card as I have 20+ extensionless files to fix. Tested on a local install with --extensions *
@glenpike As far as I can tell, codemod doesn't currently support glob patterns like *
. Feel free to open a separate issue for that feature, though!