From 6d7b117850df1e2c553cac9cff9f5356ebb94dac Mon Sep 17 00:00:00 2001 From: Gilad S Date: Sun, 30 Jun 2024 03:48:22 +0300 Subject: [PATCH] fix: Windows build --- src/bindings/utils/compileLLamaCpp.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/bindings/utils/compileLLamaCpp.ts b/src/bindings/utils/compileLLamaCpp.ts index 341c2820..0ad7de5a 100644 --- a/src/bindings/utils/compileLLamaCpp.ts +++ b/src/bindings/utils/compileLLamaCpp.ts @@ -322,7 +322,6 @@ async function applyResultDirFixes(resultDirPath: string, tempDirPath: string) { if (await fs.pathExists(releaseDirPath)) { await fs.remove(tempDirPath); - await fs.ensureDir(tempDirPath); await fs.move(releaseDirPath, tempDirPath); const itemNames = await fs.readdir(tempDirPath);