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: Fix accidental promise returned by reporters. #1702

Merged
merged 1 commit into from
Sep 16, 2021
Merged

fix: Fix accidental promise returned by reporters. #1702

merged 1 commit into from
Sep 16, 2021

Conversation

Jason3S
Copy link
Collaborator

@Jason3S Jason3S commented Sep 16, 2021

No description provided.

@github-actions github-actions bot added the fix label Sep 16, 2021
reporters: ReadonlyArray<CSpellReporter>,
emitterName: T
): CSpellReporter[T] {
return async (...args: unknown[]) => {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The async caused the unexpected Promise.

@Jason3S Jason3S merged commit 8c125c2 into main Sep 16, 2021
@Jason3S Jason3S deleted the dev-fix branch September 16, 2021 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant