Skip to content

Commit 45d3285

Browse files
committed
BuildProject.ts no longer attempts to clear temp directory
1 parent 1c6e558 commit 45d3285

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/main/handlers/BuildProject.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,8 @@ const compileLua = async (filePath: string, projectPath: string, cachePath: stri
6161

6262
export const buildProject = async (log: Logger, state: AppState, { projectPath, project }: { projectPath: string, project: Project }): Promise<ModInfo | void> => {
6363
const buildsPath = path.join(projectPath, 'Builds');
64-
const tempPath = path.join(buildsPath, 'temp');
6564
const cachePath = path.join(buildsPath, 'cache');
6665

67-
log('============== Clearing any existing temp files...');
68-
try {
69-
await fs.rm(tempPath, { recursive: true });
70-
// eslint-disable-next-line no-empty
71-
} catch {}
72-
7366
let previousCache: Cache;
7467

7568
try {

0 commit comments

Comments
 (0)