properly pass cwd to cli installer process

pull/85/head
nightwing 2015-04-30 03:08:24 +04:00
rodzic 9fea731052
commit a400a735ec
2 zmienionych plików z 7 dodań i 6 usunięć

Wyświetl plik

@ -1,11 +1,12 @@
module.exports = function(options) {
// workaround for api difference between node and c9 events modules
var EventEmitter = require("events").EventEmitter;
EventEmitter.prototype.emit = new Function("type",
EventEmitter.prototype.emit.toString()
.replace(/return false/g, "return")
.replace(/^[^{]*{/, "")
.replace(/\}$/, ""));
var emit_ = EventEmitter.prototype.emit
EventEmitter.prototype.emit = function() {
emit_.apply(this, arguments);
return true;
}
var PID = process.env.C9_PID || 526;
var APIHOST = process.env.C9_APIHOST || "api.c9.io"; // "api.c9.io";

Wyświetl plik

@ -83,7 +83,7 @@
"c9.ide.help.support": "#60e88f5680",
"c9.ide.imgeditor": "#08bbc53578",
"c9.ide.immediate": "#6845a93705",
"c9.ide.installer": "#80d050b6de",
"c9.ide.installer": "#a1e01c07a3",
"c9.ide.mount": "#32e79866ee",
"c9.ide.navigate": "#64156c7f4a",
"c9.ide.newresource": "#f1f0624768",