mirror of
https://github.com/zotero/zotero.git
synced 2026-09-29 01:41:24 +00:00
Run jscodeshift on all JS files
This is probably why it wasn't doing much.
This commit is contained in:
parent
1c4aae4842
commit
aa0910991d
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue