remove hack

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2021-06-24 15:00:02 -04:00
1 parent 0e1911cc9d
commit b9cb18c7ce
1 file changed
-6
@@ -22,14 +22,8 @@
import fse from "fs-extra";
import { app, remote } from "electron";
import path from "path";
import { isTestEnv } from "../../common/vars";
export function fileNameMigration() {
if (isTestEnv) {
// hack: to make unit testing easier just ignore the following code
return;
}
const userDataPath = (app || remote.app).getPath("userData");
const configJsonPath = path.join(userDataPath, "config.json");
const lensUserStoreJsonPath = path.join(userDataPath, "lens-user-store.json");