Skip to content

fix: do not register a ts-node when an instance is already registered - #764

Merged
asyncapi-bot merged 2 commits into
asyncapi:masterfrom
magicmatatjahu:fix/ts-node-reregister-bug
Apr 5, 2022
Merged

asyncapi-bot merged 2 commits into
asyncapi:masterfrom
magicmatatjahu:fix/ts-node-reregister-bug

Conversation

@magicmatatjahu

Copy link
Copy Markdown
Member

Description

As in title: if the ts-node has already been registered before, do not register it again.

Related issue(s)
Fixes #759

@jonaslagoni

Copy link
Copy Markdown
Member

The tests seem to fail 🙂

@sonarqubecloud

sonarqubecloud Bot commented Apr 5, 2022

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@derberg derberg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

tests seem to pass after update to latest master

@magicmatatjahu

Copy link
Copy Markdown
Member Author

@derberg Thanks!

@magicmatatjahu

Copy link
Copy Markdown
Member Author

/rtm

@asyncapi-bot

Copy link
Copy Markdown
Contributor

Hello, @magicmatatjahu! 👋🏼
This PR is not up to date with the base branch and can't be merged.
You can add comment to this PR with text: /autoupdate or /au. This way you ask our bot to perform regular updates for you. The only requirement for this to work is to enable Allow edits from maintainers option in your PR. Otherwise the only option that you have is to manually update your branch with latest version of the base branch.
Thanks 😄

@magicmatatjahu

Copy link
Copy Markdown
Member Author

/rtm

@asyncapi-bot
asyncapi-bot merged commit 54c75c2 into asyncapi:master Apr 5, 2022
@asyncapi-bot

Copy link
Copy Markdown
Contributor

Hello, @magicmatatjahu! 👋🏼
This PR is not up to date with the base branch and can't be merged.
You can add comment to this PR with text: /autoupdate or /au. This way you ask our bot to perform regular updates for you. The only requirement for this to work is to enable Allow edits from maintainers option in your PR. Otherwise the only option that you have is to manually update your branch with latest version of the base branch.
Thanks 😄

@magicmatatjahu
magicmatatjahu deleted the fix/ts-node-reregister-bug branch April 5, 2022 13:17
@asyncapi-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.9.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ready-to-merge released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot use async-api generator in projects that use ts-node

4 participants