diff --git a/src/whisper.ts b/src/whisper.ts index 2bee9a1..45f3719 100644 --- a/src/whisper.ts +++ b/src/whisper.ts @@ -156,5 +156,7 @@ export async function executeCppCommand( } catch (error) { handleError(error as Error, logger) throw error + } finally { + shell.cd(projectDir) } }