fix regression in c9/ssh

pull/290/head
nightwing 2016-04-14 09:15:19 +00:00
rodzic 4ec85bc48f
commit 5049354f5a
2 zmienionych plików z 3 dodań i 3 usunięć

4
node_modules/c9/ssh.js wygenerowano vendored
Wyświetl plik

@ -167,8 +167,8 @@ exports.generateKeyPair = function(email, callback) {
});
};
exports.validateSSHKey = function(prvkey, host, proxy, callback) {
exports.exec(prvkey, host, proxy, "", [], function(err, stdout, stderr) {
exports.validateSSHKey = function(prvkey, host, callback) {
exports.exec(prvkey, host, "", "", [], function(err, stdout, stderr) {
debug("out >> " + stdout);
debug("err >> " + stderr);
debug(err);

Wyświetl plik

@ -146,7 +146,7 @@ define(function(require, exports, module) {
function rest(path, options, callback) {
if (!vfs || !connection || connection.readyState != "open") {
console.error("[vfs-client] Cannot perform rest action for ", path, " vfs is disconnected");
// console.error("[vfs-client] Cannot perform rest action for ", path, " vfs is disconnected");
var stub = { abort: function(){ buffer[this.id]= null; } };
stub.id = buffer.push([path, options, callback, stub]) - 1;
return stub;