Skip to content

Commit 4ea5f21

Browse files
committed
Clean out the git directory
1 parent c1fe509 commit 4ea5f21

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

benchmark/apps/cli/src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ const run = async (toolbox: GluegunToolbox) => {
5858
throw new Error(`Exercise is invalid: ${exercise}`)
5959
}
6060

61+
console.log(await execa({ cwd: exercisesPath })`git checkout -f`)
62+
console.log(await execa({ cwd: exercisesPath })`git clean -fd`)
63+
6164
const id = config.runId ? Number(config.runId) : undefined
6265
let run: Run
6366

0 commit comments

Comments
 (0)