diff --git a/tools/actions/turbo-affected/build/main.js b/tools/actions/turbo-affected/build/main.js index bca6253f2de2..43848664793c 100644 --- a/tools/actions/turbo-affected/build/main.js +++ b/tools/actions/turbo-affected/build/main.js @@ -19525,13 +19525,9 @@ function main() { const pkg = core.getInput("package") || ""; const command = core.getInput("command"); const turboVersion = package_default.devDependencies.turbo; - console.log({ ref }); - console.log({ pkg }); - console.log({ command }); - console.log({ turboVersion }); try { const turboOutput = (0, import_child_process.execSync)( - `npx turbo@2.1.1 run ${command} --filter=...[${ref}] --dry=json`, + `npx turbo@${turboVersion} run ${command} --filter=...[${ref}] --dry=json`, { encoding: "utf-8", maxBuffer: 2048 * 1024 diff --git a/tools/actions/turbo-affected/src/main.ts b/tools/actions/turbo-affected/src/main.ts index 580f0fa5cc1d..9004f8360dc1 100644 --- a/tools/actions/turbo-affected/src/main.ts +++ b/tools/actions/turbo-affected/src/main.ts @@ -7,14 +7,10 @@ async function main() { const pkg = core.getInput("package") || ""; const command = core.getInput("command"); const turboVersion = packageJson.devDependencies.turbo; - console.log({ ref }); - console.log({ pkg }); - console.log({ command }); - console.log({ turboVersion }); try { const turboOutput = execSync( - `npx turbo@2.1.1 run ${command} --filter=...[${ref}] --dry=json`, + `npx turbo@${turboVersion} run ${command} --filter=...[${ref}] --dry=json`, { encoding: "utf-8", maxBuffer: 2048 * 1024,