aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-05-10 11:42:47 +0530
committerLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-05-12 05:09:03 +0530
commit49be66ce0cf9391487451d1e0e3e63bc689300c5 (patch)
treee86227b3a9f7ee1ce2ac33ff9640426975d0a230 /src/config.js
parentMethod reuse (#1379) (diff)
downloadferdium-app-49be66ce0cf9391487451d1e0e3e63bc689300c5.tar.gz
ferdium-app-49be66ce0cf9391487451d1e0e3e63bc689300c5.tar.zst
ferdium-app-49be66ce0cf9391487451d1e0e3e63bc689300c5.zip
Remove duplicated lines (probably introduced in a bad conflict-resolution step).
Added TODOs for other duplicated code that is more involved in fixing.
Diffstat (limited to 'src/config.js')
-rw-r--r--src/config.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.js b/src/config.js
index 62bbaac12..e6bd83e06 100644
--- a/src/config.js
+++ b/src/config.js
@@ -171,6 +171,7 @@ export const FILE_SYSTEM_SETTINGS_TYPES = [
171export const LOCAL_SERVER = 'You are using Ferdi without a server'; 171export const LOCAL_SERVER = 'You are using Ferdi without a server';
172export const SERVER_NOT_LOADED = 'Ferdi::SERVER_NOT_LOADED'; 172export const SERVER_NOT_LOADED = 'Ferdi::SERVER_NOT_LOADED';
173 173
174// TODO: This seems to be duplicated between here and 'index.js'
174// Set app directory before loading user modules 175// Set app directory before loading user modules
175if (process.env.FERDI_APPDATA_DIR != null) { 176if (process.env.FERDI_APPDATA_DIR != null) {
176 app.setPath('appData', process.env.FERDI_APPDATA_DIR); 177 app.setPath('appData', process.env.FERDI_APPDATA_DIR);