kopia lustrzana https://github.com/c9/core
commit
2957589336
|
@ -66,7 +66,7 @@ function logToFile(message){
|
||||||
module.exports = function setup(fsOptions) {
|
module.exports = function setup(fsOptions) {
|
||||||
var pty;
|
var pty;
|
||||||
if (!fsOptions.nopty) {
|
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 {
|
try {
|
||||||
pty = require(p);
|
pty = require(p);
|
||||||
return true;
|
return true;
|
||||||
|
|
Ładowanie…
Reference in New Issue