diff --git a/code/lib/codemod/src/index.ts b/code/lib/codemod/src/index.ts index b55c790adf83..a5299921a211 100644 --- a/code/lib/codemod/src/index.ts +++ b/code/lib/codemod/src/index.ts @@ -89,7 +89,7 @@ export async function runCodemod( '-t', `${TRANSFORM_DIR}/${codemod}.js`, ...parserArgs, - ...files, + ...files.map((file) => `"${file}"`), ], { stdio: 'inherit',