Closed avengerpenguin closed 7 years ago
I have come across this exact issue and it took me a while to solve. I ended up having to export the HOME variable when calling gulp with an user without environment.
This PR would be great to avoid this kind of issues.
sorry I missed this PR somehow.
Does only osenv
return undefined when $HOME
is not set, or does the following also return undefined?
var os = require('os');
console.log(os.homedir());
The undefined
will come from os.homedir()
as well.
Just did the simple thing.