Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

update variable name

Abhinavc7d474cd31ab
diff --git a/src/api/cache.ts b/src/api/cache.ts
index a90d43271b..a80e6ce996 100644
--- a/src/api/cache.ts
+++ b/src/api/cache.ts
@@ -3,11 +3,11 @@ import path from 'path';
import { existsSync, mkdir, rmSync } from 'promise-fs';
import { DiskCache } from '../services/diskCache';
-const CACHE_DIR = 'ente';
+const ENTE_CACHE_DIR_NAME = 'ente';
const getCacheDir = async () => {
const systemCacheDir = await ipcRenderer.invoke('get-path', 'cache');
- return path.join(systemCacheDir, CACHE_DIR);
+ return path.join(systemCacheDir, ENTE_CACHE_DIR_NAME);
};
const getCacheBucketDir = async (cacheName: string) => {