remove HOMEPATH and USERPROFILE fallbacks
probably from a time when I had a mac
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user