From 17ef33808a8c408a72b226540dfb5914cf6b620a Mon Sep 17 00:00:00 2001 From: Mattias Erming Date: Fri, 3 Oct 2014 16:42:39 -0700 Subject: [PATCH] Fallback to USERPROFILE environment variable --- src/helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helper.js b/src/helper.js index f1d43a4e..111b99a0 100644 --- a/src/helper.js +++ b/src/helper.js @@ -1,5 +1,5 @@ module.exports = { - HOME: process.env.HOME + "/.shout", + HOME: (process.env.HOME || process.env.USERPROFILE) + "/.shout", getConfig: getConfig };