kopia lustrzana https://github.com/c9/core
Wait until cloud9 reconnects
rodzic
3b72d23c98
commit
26ad32975e
|
@ -66,7 +66,7 @@
|
|||
"c9.ide.find.infiles": "#72582de3cd",
|
||||
"c9.ide.find.replace": "#e4daf722b8",
|
||||
"c9.ide.run.debug": "#638e6b00b3",
|
||||
"c9.automate": "#b1b0cca13a",
|
||||
"c9.automate": "#3e6927aa96",
|
||||
"c9.ide.ace.emmet": "#e5f1a92ac3",
|
||||
"c9.ide.ace.gotoline": "#4d1a93172c",
|
||||
"c9.ide.ace.keymaps": "#43445d6306",
|
||||
|
|
|
@ -57,8 +57,11 @@ define(function(require, exports, module) {
|
|||
if (loadFromDisk) {
|
||||
fs.readdir("~/.c9/plugins", function handle(err, files){
|
||||
if (err) {
|
||||
if (err.code == "EDISCONNECT")
|
||||
fs.readdir("~/.c9/plugins", handle);
|
||||
if (err.code == "EDISCONNECT") {
|
||||
c9.once("connect", function(){
|
||||
fs.readdir("~/.c9/plugins", handle);
|
||||
});
|
||||
}
|
||||
console.error(err);
|
||||
return;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue