mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00: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");
|
||||
|
||||
Reference in new issue
Block a user