From 4ea5f2179200d332dd3c19c01e9dd7481fca370c Mon Sep 17 00:00:00 2001 From: cte Date: Mon, 31 Mar 2025 02:04:28 -0700 Subject: [PATCH] Clean out the git directory --- benchmark/apps/cli/src/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/benchmark/apps/cli/src/index.ts b/benchmark/apps/cli/src/index.ts index 2bb55590dc..19a00b718f 100644 --- a/benchmark/apps/cli/src/index.ts +++ b/benchmark/apps/cli/src/index.ts @@ -58,6 +58,9 @@ const run = async (toolbox: GluegunToolbox) => { throw new Error(`Exercise is invalid: ${exercise}`) } + console.log(await execa({ cwd: exercisesPath })`git checkout -f`) + console.log(await execa({ cwd: exercisesPath })`git clean -fd`) + const id = config.runId ? Number(config.runId) : undefined let run: Run