From b9cb18c7cef83a5e7cacf325f1ff478152969031 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Thu, 24 Jun 2021 15:00:02 -0400 Subject: [PATCH] remove hack Signed-off-by: Sebastian Malton --- src/migrations/user-store/file-name-migration.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/migrations/user-store/file-name-migration.ts b/src/migrations/user-store/file-name-migration.ts index fc7784d2c2..122cd78102 100644 --- a/src/migrations/user-store/file-name-migration.ts +++ b/src/migrations/user-store/file-name-migration.ts @@ -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");