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

Removing flatMap to prevent Node v10 crashes #577

Merged
merged 1 commit into from
Jun 13, 2022

Conversation

willvedd
Copy link
Contributor

✏️ Changes

A customer reported the error: supportedLanguages.flatMap is not a function. It's caused by this line of code . Customer is using Node v10 which does not support the usage of .flatMap. Long term, we should probably be more critical towards the version of node that we support; version 10 reached end of life over a year ago. However, it isn't the right time to have that conversation and this change is easy enough to make.

🔗 References

🎯 Testing

No changes to tests necessary.

@willvedd willvedd requested a review from a team as a code owner June 10, 2022 17:51
@willvedd willvedd merged commit 4967cff into master Jun 13, 2022
@willvedd willvedd deleted the ESD-20252-prompts-handler-node-10-support branch June 13, 2022 12:57
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