From b57d50d38c09078a853f4576dff3b11d7e532954 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Wed, 29 Sep 2021 19:00:52 -0700 Subject: [PATCH] remove HOMEPATH and USERPROFILE fallbacks probably from a time when I had a mac --- src/paths.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/paths.js b/src/paths.js index bb2410c55..3027379fa 100644 --- a/src/paths.js +++ b/src/paths.js @@ -4,7 +4,7 @@ var constants = require('./constants.js'), path = require('path'); function baseDir() { - const homeDir = process.env.HOME || process.env.HOMEPATH || process.env.USERPROFILE; + const homeDir = process.env.HOME; if (constants.CLOUDRON) return homeDir; if (constants.TEST) return path.join(homeDir, '.cloudron_test'); // cannot reach