Clean out the git directory

This commit is contained in:
cte 2025-03-31 02:04:28 -07:00
parent c1fe509b13
commit 4ea5f21792

View file

@ -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