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

Avoid using optional chaining #27

merged 1 commit into from Dec 26, 2021

Avoid using optional chaining #27

merged 1 commit into from Dec 26, 2021


Copy link

@wata727 wata727 commented Dec 24, 2021

Fixes #25

Optional chaining is available from Node.js v14. However, this action is running in Node.js v12, so it raises an error like SyntaxError: Unexpected token '.'

This is introduced in e1f3c48

Copy link

@mislav mislav left a comment

Choose a reason for hiding this comment

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

Thank you!!

@mislav mislav merged commit 591b3ab into mislav:main Dec 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

SyntaxError: Unexpected token '.' with v1.14
2 participants