kopia lustrzana https://github.com/c9/core
fix regression in c9/ssh
rodzic
4ec85bc48f
commit
5049354f5a
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Ładowanie…
Reference in New Issue