Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

Commit

Permalink
removed Q.cancel()
Browse files Browse the repository at this point in the history
  • Loading branch information
frozeman committed Dec 14, 2016
1 parent 287598b commit 601d5fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ onReady = () => {
});
}

return Q.cancel();
return;
})
.then(function doSync() {
// we're going to do the sync - so show splash
Expand All @@ -416,10 +416,10 @@ onReady = () => {
}

if (Settings.inAutoTestMode) {
return Q.cancel();
return syncResultPromise;
}

return syncResultPromise;
return;
})
.then(function allDone() {
startMainWindow();
Expand Down

0 comments on commit 601d5fb

Please sign in to comment.