Skip to content

Commit

Permalink
Add: production build
Browse files Browse the repository at this point in the history
  • Loading branch information
superKalo committed Jan 16, 2018
1 parent 417ab50 commit 1fadd81
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ var SuperRepo = function () {
*/
this.isPromisePending = true;

return this.promise = new Promise(function (_resolve) {
return this.promise = new Promise(function (_resolve, _reject) {

_this10.getDataUpToDateStatus().then(function (_res) {
if (_res.isDataUpToDate) {
Expand All @@ -478,7 +478,7 @@ var SuperRepo = function () {
_this10.isPromisePending = false;

return _response;
}).then(_resolve);
}).then(_resolve).catch(_reject);
}
});
});
Expand Down Expand Up @@ -522,7 +522,7 @@ var SuperRepo = function () {


return new Promise(function (_resolve) {
_this12.getDataUpToDateStatus().then(function (_res) {
_this12.getDataUpToDateStatus().then(function (_res, _rej) {

/**
* If data is up to date, determine when it gets outdated.
Expand Down

0 comments on commit 1fadd81

Please sign in to comment.