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

indicate failure to export functions, rather than return null in top level #1

Open
wants to merge 4 commits into
base: full-time
Choose a base branch
from

Conversation

ozzloy
Copy link

@ozzloy ozzloy commented Aug 17, 2024

the most meaningful change in this pull request is to indicate failure to export function. this replaces an attempt to return null at the top level, which is invalid.

other changes include making explanations fit within the comment stars, removing stray end-of-line whitespace, and my favorite, standardizing the indent space count. some files had 4, some had 2. i was not able to quickly separate this last change into its own commit, so it's mixed with the others.

when the function export raises an error, indicate that error rather
than returning.  returning is invalid in the top-level context
anyways.
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