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

Increase required nodejs version to 10.3 or get rid of Optional Catch Binding #38

Closed
SkaceKamen opened this issue Aug 10, 2020 · 1 comment

Comments

@SkaceKamen
Copy link

This line causes crash on nodejs < 10.3:

} catch {}

This is "Optional Catch Binding" and is only supported in nodejs version 10.3 and higher, see https://node.green/#ES2019-misc-optional-catch-binding

@SkaceKamen
Copy link
Author

Sorry, seems like the issue was that we were running incorrect nodejs version, but still passed the node >= 10 check :\

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

No branches or pull requests

1 participant