mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
remove hack
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
0e1911cc9d
commit
b9cb18c7ce
@ -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");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user