🎥 Make videos programmatically with React
properly await
Jonny Burger3519549f61c6
diff --git a/packages/install-whisper-cpp/src/install-whisper-cpp.ts b/packages/install-whisper-cpp/src/install-whisper-cpp.tsindex e58d3e26fa..dbd55afa22 100644--- a/packages/install-whisper-cpp/src/install-whisper-cpp.ts+++ b/packages/install-whisper-cpp/src/install-whisper-cpp.ts@@ -101,7 +101,7 @@ const installWhisperForUnix = async ({to: string;printOutput: boolean;signal: AbortSignal | null;-}) => {+}): Promise<void> => {await execute({command: `git clone https://github.com/ggerganov/whisper.cpp.git ${to}`,printOutput,@@ -167,7 +167,12 @@ export const installWhisperCpp = async ({}if (process.platform === 'darwin' || process.platform === 'linux') {- installWhisperForUnix({version, to, printOutput, signal: signal ?? null});+ await installWhisperForUnix({+ version,+ to,+ printOutput,+ signal: signal ?? null,+ });return Promise.resolve({alreadyExisted: false});}