Skip to content
This repository has been archived by the owner on Jun 2, 2021. It is now read-only.

Commit

Permalink
refactor(promises): consistently return promises from ensure methods
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Making the callback optional and deprecated.  Promises are the preferred way of waiting for the methods to finish.  Breaking change because it technically changes the method return value signature.  No known repositories are using the return value, luckily.

Also updating eslint-related packages so that the linter will stop complaining about object rest/spread issues.
  • Loading branch information
davidjoy committed Aug 28, 2019
1 parent 4eb9693 commit 289f782
Show file tree
Hide file tree
Showing 6 changed files with 932 additions and 702 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"extends": "eslint-config-edx",
"parser": "babel-eslint",
"rules": {
"import/no-extraneous-dependencies": [
"error",
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
coverage
dist
node_modules
/.vscode
Loading

0 comments on commit 289f782

Please sign in to comment.