From 204a80708e6e0a2189de16438a3eb4b57ef84987 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Fri, 1 Oct 2021 21:51:55 +0530 Subject: refactor: split 'environment' into 'environment-remote' with only the remote module dependency (might be a pre-requisite for the electron v14 upgrade) --- src/helpers/recipe-helpers.ts | 2 +- src/helpers/service-helpers.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/helpers') diff --git a/src/helpers/recipe-helpers.ts b/src/helpers/recipe-helpers.ts index 65ef04088..d482dffab 100644 --- a/src/helpers/recipe-helpers.ts +++ b/src/helpers/recipe-helpers.ts @@ -1,6 +1,6 @@ /* eslint-disable global-require */ import { parse } from 'path'; -import { userDataRecipesPath } from '../environment'; +import { userDataRecipesPath } from '../environment-remote'; export function getRecipeDirectory(id: string = ''): string { return userDataRecipesPath(id); diff --git a/src/helpers/service-helpers.ts b/src/helpers/service-helpers.ts index 13c921f88..678d5024f 100644 --- a/src/helpers/service-helpers.ts +++ b/src/helpers/service-helpers.ts @@ -1,5 +1,5 @@ import { readdirSync, removeSync } from 'fs-extra'; -import { userDataPath } from '../environment'; +import { userDataPath } from '../environment-remote'; export function getServicePartitionsDirectory(...segments) { return userDataPath('Partitions', ...[segments].flat()); -- cgit v1.2.3-54-g00ecf