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

chore(gatsby): remove async/await where not needed #28433

Merged
merged 1 commit into from
Dec 2, 2020
Merged

chore(gatsby): remove async/await where not needed #28433

merged 1 commit into from
Dec 2, 2020

Conversation

pvdz
Copy link
Contributor

@pvdz pvdz commented Dec 2, 2020

These two cases used await while waiting for a function that didn't return a promise in the first place.

In the second case, the resolver was made sync because it didn't need to be async anymore.

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Dec 2, 2020
@pvdz pvdz added type: chore and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Dec 2, 2020
@pvdz pvdz merged commit f0603a2 into master Dec 2, 2020
@delete-merged-branch delete-merged-branch bot deleted the nowait branch December 2, 2020 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants