kopia lustrzana https://github.com/c9/core
make sure we do not save incomplete debug proxy to the disk
rodzic
d9e8100640
commit
2eab9c7957
|
@ -53,6 +53,8 @@ define(function(require, exports, module) {
|
|||
// try connecting after error, in case there is proxy already launched
|
||||
if (remote && remote.api.launch) {
|
||||
return require(["text!" + debugProxy.srcUrl], function(code) {
|
||||
if (!code)
|
||||
return console.error("Debug proxy module not found");
|
||||
fs.writeFile(util.normalizePath(extPath), code, function() {
|
||||
remote.api.launch(function() {
|
||||
tryConnect(30);
|
||||
|
|
Ładowanie…
Reference in New Issue