Skip to content

Commit

Permalink
fix(funpromise): remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertFischer committed Dec 9, 2020
1 parent 41fda5b commit 0b7e034
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/fun-promise.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@ import _toArray from "lodash/toArray";
// import Debug from "debug";
// const debug = Debug("fun-promises");

const rejection = (() => {
const it = Promise.reject("FunPromise has been cancelled");
it.catch(_noop); // Disable UnhandledException errors
return it;
})();

/**
* The class that you should use instead of `Promise`. It implements the `Promise` API, so it should be a drop-in replacement.
*/
Expand Down

0 comments on commit 0b7e034

Please sign in to comment.