diff --git a/node_modules/vfs-local/localfs.js b/node_modules/vfs-local/localfs.js index ae1d3a02..df779f80 100644 --- a/node_modules/vfs-local/localfs.js +++ b/node_modules/vfs-local/localfs.js @@ -66,7 +66,7 @@ function logToFile(message){ module.exports = function setup(fsOptions) { var pty; if (!fsOptions.nopty) { - [fsOptions.homeDir + "/.c9/node_modules/pty.js", "pty.js", "pty.nw.js"].some(function(p) { + [process.env.HOME + "/.c9/node_modules/pty.js", "pty.js", "pty.nw.js"].some(function(p) { try { pty = require(p); return true;