Rename .jsx -> .js

This commit is contained in:
Jake McDermott
2021-07-19 11:38:31 -04:00
parent 595cf192b7
commit c92fffaecc
1023 changed files with 13 additions and 12 deletions

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__":