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

Throw error if run() is not exported #109

Merged
merged 1 commit into from
Oct 3, 2024
Merged

Throw error if run() is not exported #109

merged 1 commit into from
Oct 3, 2024

Conversation

ncalteen
Copy link
Collaborator

@ncalteen ncalteen commented Oct 3, 2024

Whenever local-action is called, the entrypoint input must point to a file that exports a run function. Otherwise, a not-very-useful error occurs. This PR outputs a more useful error message when this scenario occurs in the future.

See #104

@ncalteen ncalteen self-assigned this Oct 3, 2024
@ncalteen ncalteen merged commit 6c10228 into main Oct 3, 2024
15 checks passed
@ncalteen ncalteen deleted the ncalteen/run branch October 3, 2024 15:45
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

Successfully merging this pull request may close these issues.

1 participant