substack/node-browserify — comment on commit 7f607858a2397799359bc60017c998c7e07826c0
File:  line 0
By ashtuchkin:

Hi, James, thanks for the fix!

Although it now works for me, I find it a little strange, because now the same situation will happen ('undefined' folder will be created) if someone chooses to set ```cache: true``` in options, while having no $HOME. May I suggest to put this check later, something like ```if (opts.cache && process.env.HOME !== undefined) { ...```. I think it would be more robust.