Skip to content

Comments

fix: Restore to project directory after using nodewhisper#239

Open
yannagrebah wants to merge 1 commit intoChetanXpro:mainfrom
yannagrebah:main
Open

fix: Restore to project directory after using nodewhisper#239
yannagrebah wants to merge 1 commit intoChetanXpro:mainfrom
yannagrebah:main

Conversation

@yannagrebah
Copy link

This PR fixes a minor oversight. When using nodewhisper(), it changes the current working directory to ./cpp/whisper.cpp instead of the project directory. This could cause problems when using other processes that rely on the current working directory.
This just restores the current directory to the project directory after all functions are done. Funny enough, this was already handled when an error occurred with handleError().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant