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

Syntax error #16

Closed
lunacookies opened this issue Mar 2, 2021 · 2 comments
Closed

Syntax error #16

lunacookies opened this issue Mar 2, 2021 · 2 comments

Comments

@lunacookies
Copy link

lunacookies commented Mar 2, 2021

Hi, thanks for the GitHub Action, it’s worked perfectly so far! I’ve just run into a syntax error when trying to use this action (v1.11), which you can see here. I’ve reproduced the error message below:

Run mislav/bump-homebrew-formula-action@v1.11
/Users/runner/work/_actions/mislav/bump-homebrew-formula-action/v1.11/lib/index.js:5910
        request: { fetch: options?.fetch },
                                  ^

SyntaxError: Unexpected token '.'
    at Module._compile (internal/modules/cjs/loader.js:895:18)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Function.Module._load (internal/modules/cjs/loader.js:727:14)
    at Function.Module.runMain (internal/modules/cjs/loader.js:1047:10)
    at internal/main/run_main_module.js:17:11

I’ve also located the offending line, which was introduced in 11ce557.

@mislav
Copy link
Owner

mislav commented Mar 2, 2021

Ouch! Thank you for the detailed report 💯

@lunacookies
Copy link
Author

All good :)

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