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

Action unexpected end of json input #11049

Closed
1 task
florian-lefebvre opened this issue May 15, 2024 · 0 comments · Fixed by #11041
Closed
1 task

Action unexpected end of json input #11049

florian-lefebvre opened this issue May 15, 2024 · 0 comments · Fixed by #11041
Labels
needs triage Issue needs to be triaged

Comments

@florian-lefebvre
Copy link
Member

Astro Info

Astro                    v4.8.3
Node                     v18.18.0
System                   Linux (x64)
Package Manager          npm
Output                   server
Adapter                  @astrojs/node
Integrations             none

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

When not returning anything from an action, it throws the following error: Unexpected end of JSON input

What's the expected result?

I expect it to return nothing without failing

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-rwthck?file=src%2Factions.ts,src%2Fpages%2Findex.astro

Participation

  • I am willing to submit a pull request for this issue.
@github-actions github-actions bot added the needs triage Issue needs to be triaged label May 15, 2024
@florian-lefebvre florian-lefebvre linked a pull request May 15, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Issue needs to be triaged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant