Rename .jsx -> .js

This commit is contained in:
Jake McDermott
2021-07-19 13:33:38 -04:00
parent 595cf192b7
commit c92fffaecc
1023 changed files with 13 additions and 12 deletions
+2 -2
View File
@@ -98,8 +98,8 @@ def run():
search_path = args.root_dir + "**/**/*.js*"
for file_path in glob.iglob(search_path, recursive=True):
find_and_replace_roots(file_path, args.root_dir, args.preview)
#rename_jsx(file_path, args.preview)
#find_and_replace_roots(file_path, args.root_dir, args.preview)
rename_jsx(file_path, args.preview)
if __name__ == "__main__":