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: done called twice on invalid options #667

Merged
merged 1 commit into from
Dec 28, 2021

Conversation

luddd3
Copy link
Contributor

@luddd3 luddd3 commented Dec 28, 2021

Fixes CI with node version 10.

The problem was that the steps in afterStartOk weren't aborted even though an error was detected and bail was called. Thus the callback was called at least twice.

Fixes CI with node version 10.

The problem was that the steps in `afterStartOk` weren't aborted
even though an error was detected and `bail` was called. Thus
the callback was called at least twice.
@kibertoad kibertoad merged commit ee3fadd into amqp-node:main Dec 28, 2021
@kibertoad
Copy link
Collaborator

appreciate the quick fix :)

@luddd3
Copy link
Contributor Author

luddd3 commented Dec 28, 2021

Sorry for the inconvenience and thank you for reviewing/merging =)

@luddd3 luddd3 deleted the fix/done-called-twice branch December 28, 2021 17:09
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.

None yet

2 participants