diff options
author | 2021-05-10 11:42:47 +0530 | |
---|---|---|
committer | 2021-05-12 05:09:03 +0530 | |
commit | 49be66ce0cf9391487451d1e0e3e63bc689300c5 (patch) | |
tree | e86227b3a9f7ee1ce2ac33ff9640426975d0a230 /src/config.js | |
parent | Method reuse (#1379) (diff) | |
download | ferdium-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.js | 1 |
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 = [ | |||
171 | export const LOCAL_SERVER = 'You are using Ferdi without a server'; | 171 | export const LOCAL_SERVER = 'You are using Ferdi without a server'; |
172 | export const SERVER_NOT_LOADED = 'Ferdi::SERVER_NOT_LOADED'; | 172 | export 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 |
175 | if (process.env.FERDI_APPDATA_DIR != null) { | 176 | if (process.env.FERDI_APPDATA_DIR != null) { |
176 | app.setPath('appData', process.env.FERDI_APPDATA_DIR); | 177 | app.setPath('appData', process.env.FERDI_APPDATA_DIR); |