From 0f7f0608cc2538d8586ed57c896d23f2cc5d21d6 Mon Sep 17 00:00:00 2001 From: jiangxiang89 Date: Thu, 26 May 2016 16:54:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dwindows=E4=B8=8B=20home?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=E4=B8=8D=E6=AD=A3=E7=A1=AE=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util.js b/lib/util.js index 80a890b..e1d678a 100644 --- a/lib/util.js +++ b/lib/util.js @@ -24,7 +24,7 @@ module.exports.merge = function(baseObj, extendObj){ } function getUserHome(){ - return process.env.HOME || process.env.HOMEPATH || process.env.USERPROFILE; + return process.env.HOME || process.env.USERPROFILE; } module.exports.getUserHome = getUserHome;