aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/core/promise-queue.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/montage/core/promise-queue.js')
-rw-r--r--node_modules/montage/core/promise-queue.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/montage/core/promise-queue.js b/node_modules/montage/core/promise-queue.js
index 11eeb788..87959c5c 100644
--- a/node_modules/montage/core/promise-queue.js
+++ b/node_modules/montage/core/promise-queue.js
@@ -42,7 +42,7 @@ exports.PromiseQueue = Montage.create(Montage, {
42 close: { 42 close: {
43 value: function (reason, error, rejection) { 43 value: function (reason, error, rejection) {
44 var end = { 44 var end = {
45 head: rejections || Promise.reject(reason, error) 45 head: rejection || Promise.reject(reason, error)
46 }; 46 };
47 end.tail = end; 47 end.tail = end;
48 this._ends.resolve(end); 48 this._ends.resolve(end);