Skip to content

Commit 221c262

Browse files
committed
do extension setting the right way?
1 parent 33a5d15 commit 221c262

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/bin-support.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ async function runTransform(binRoot, transformName, args) {
2121

2222
let extensions = options.extensions || DEFAULT_EXTENSIONS;
2323

24-
return execa(binPath, ['-t', transformPath, '--extensions', extensions, ...foundPaths], {
24+
let binOptions = ['-t', transformPath, '--extensions', extensions, ...foundPaths];
25+
26+
return execa(binPath, binOptions, {
2527
stdio: 'inherit',
2628
env: {
2729
CODEMOD_CLI_ARGS: JSON.stringify(options),

0 commit comments

Comments
 (0)