Run jscodeshift on all JS files

This is probably why it wasn't doing much.
This commit is contained in:
Abe Jellinek 2025-06-30 14:44:07 -04:00
parent 1c4aae4842
commit aa0910991d

View file

@ -806,6 +806,7 @@ def run_jscodeshift(script, env, stdin):
str(npm_prefix / script),
"--stdin",
"--verbose=2",
'--extensions=js,jsx,mjs,jsm'
]
p = subprocess.Popen(cmd, env=env, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
p.stdin.write(stdin)