Skip to content

Commit

Permalink
Merge pull request #26430 from YukiKitagata/next
Browse files Browse the repository at this point in the history
Codemods: Escape filename given as argument
  • Loading branch information
ndelangen authored Mar 26, 2024
2 parents e358999 + 017600a commit 2118e9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/lib/codemod/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export async function runCodemod(
'-t',
`${TRANSFORM_DIR}/${codemod}.js`,
...parserArgs,
...files,
...files.map((file) => `"${file}"`),
],
{
stdio: 'inherit',
Expand Down

0 comments on commit 2118e9a

Please sign in to comment.