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

missing exception var in parentheses of catch statement #1300

Closed
tbaker73 opened this issue Mar 24, 2022 · 0 comments
Closed

missing exception var in parentheses of catch statement #1300

tbaker73 opened this issue Mar 24, 2022 · 0 comments

Comments

@tbaker73
Copy link

tbaker73 commented Mar 24, 2022

For example:
} catch (error) { return 'unknown' }

Results in error below in older versions of node:
vue-inbrowser-compiler-demi/postinstall.js:8
} catch {
^
SyntaxError: Unexpected token {

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