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

Move main plugin function into its own file #360

Merged
merged 2 commits into from
May 31, 2024
Merged

Conversation

dlh01
Copy link
Member

@dlh01 dlh01 commented May 30, 2024

Shuffles things around a bit:

  • Declare the main() function in its own file, not in the middle of the plugin file.
  • Make all function calls in the plugin file, not in the individual includes.

The upshot is that the include files contain only functions, and statements happen in the plugin file.

Copy link

@juliobranha juliobranha left a comment

Choose a reason for hiding this comment

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

🐐

@dlh01 dlh01 merged commit f1acecb into develop May 31, 2024
8 checks passed
@dlh01 dlh01 deleted the feature/main-file branch May 31, 2024 03:53
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.

2 participants