Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 2a7c1c2

Browse files
committed
resolve _loadAgentsPromise with new code
1 parent ff4ebab commit 2a7c1c2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/LiveDevelopment/LiveDevelopment.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ define(function LiveDevelopment(require, exports, module) {
572572

573573
allAgentsPromise.fail(result.reject);
574574

575-
result
575+
_loadAgentsPromise
576576
.fail(function () {
577577
// show error loading live dev dialog
578578
_setStatus(STATUS_ERROR);
@@ -587,7 +587,7 @@ define(function LiveDevelopment(require, exports, module) {
587587
_loadAgentsPromise = null;
588588
});
589589

590-
return result.promise();
590+
return _loadAgentsPromise;
591591
}
592592

593593
/**

0 commit comments

Comments
 (0)