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

catch without #12

Closed
arnold-graf opened this issue Aug 30, 2021 · 1 comment
Closed

catch without #12

arnold-graf opened this issue Aug 30, 2021 · 1 comment

Comments

@arnold-graf
Copy link

the error in …} catch (error) {… is not optional in ECMAScript. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/try...catch. Used in

; This trips up some recent node versions.

@sindresorhus
Copy link
Owner

It is optional in the Node.js versions this package targets.

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

2 participants