Fallback to USERPROFILE environment variable

This commit is contained in:
Mattias Erming 2014-10-03 16:42:39 -07:00
parent 4140b9e6fd
commit 17ef33808a

View File

@ -1,5 +1,5 @@
module.exports = { module.exports = {
HOME: process.env.HOME + "/.shout", HOME: (process.env.HOME || process.env.USERPROFILE) + "/.shout",
getConfig: getConfig getConfig: getConfig
}; };