Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix!: correctly return reject promise for promise returning fnc #326

Merged
merged 8 commits into from
May 27, 2021

Conversation

AuHau
Copy link
Contributor

@AuHau AuHau commented May 25, 2021

Closes #311.

This PR is breaking as the previous behavior was throwing errors and now will be returning rejected Promise instead.

As part of the PR I have updated ESLint dependencies, bit modified the ban-ts-command rule, and did a general sweep of the codebase to remove ESlint warnings.

Also I would propose to change the unused imports rule from Warning to Error.

@AuHau AuHau requested a review from nugaon as a code owner May 25, 2021 15:19
@AuHau AuHau requested a review from a team May 25, 2021 15:20
@AuHau AuHau force-pushed the fix/async-unification branch from 821375c to d5e89db Compare May 26, 2021 06:59
.eslintrc.js Show resolved Hide resolved
@AuHau AuHau requested a review from nugaon May 26, 2021 09:05
@AuHau AuHau force-pushed the fix/async-unification branch from c1c8e4b to 64bd451 Compare May 27, 2021 08:14
@AuHau AuHau force-pushed the fix/async-unification branch from 4dedb8e to 8dad0d4 Compare May 27, 2021 12:04
@AuHau AuHau merged commit d76ef2d into master May 27, 2021
@AuHau AuHau deleted the fix/async-unification branch May 27, 2021 12:58
@bee-worker bee-worker mentioned this pull request May 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mixing throwing errors and Promise rejections
2 participants