Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added .rb and .erb to default extensions, to support Ruby projects.

  • Loading branch information...
commit 86719d63b671c56f2552804f597fae628ec61f8e 1 parent 8da5577
@pda pda authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/codemod.py
View
4 src/codemod.py
@@ -102,7 +102,9 @@ def the_filter(path):
return True
return the_filter
-_default_path_filter = path_filter(extensions=['php', 'phpt', 'js', 'css'])
+_default_path_filter = path_filter(
+ extensions=['php', 'phpt', 'js', 'css', 'rb', 'erb']
+)
def run_interactive(query, editor=None, just_count=False):
"""
Please sign in to comment.
Something went wrong with that request. Please try again.