remove unneeded code

This commit is contained in:
Abhinav 2022-11-16 15:47:22 +05:30
parent bdaa505518
commit 5d3ecdc9e6

View file

@ -1,5 +1,4 @@
import { app } from 'electron'; import { app } from 'electron';
import { emptyDir } from 'fs-extra';
import path from 'path'; import path from 'path';
import { existsSync, mkdir } from 'promise-fs'; import { existsSync, mkdir } from 'promise-fs';
@ -16,13 +15,6 @@ export async function getTempDirPath() {
return tempDirPath; return tempDirPath;
} }
export async function clearEnteTempFolder() {
const tempDirPath = await this.getTempDirPath();
if (existsSync(tempDirPath)) {
await emptyDir(tempDirPath);
}
}
export function generateTempName(length: number) { export function generateTempName(length: number) {
let result = ''; let result = '';