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

Reduce nested functions #177

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

yiningh11
Copy link

@yiningh11 yiningh11 commented Jan 24, 2025

I simplified the code by reducing the levels of nested functions, which means I moved some functions that were originally defined inside other functions to be separate, standalone functions. This change makes the code structure clearer and easier to follow.
resolves #131

@coveralls
Copy link

Pull Request Test Coverage Report for Build 12942847782

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+0.003%) to 82.674%

Files with Coverage Reduction New Missed Lines %
src/meta/errors.js 1 83.72%
Totals Coverage Status
Change from base Build 12896760049: 0.003%
Covered Lines: 22323
Relevant Lines: 25582

💛 - Coveralls

@yiningh11
Copy link
Author

yiningh11 commented Jan 24, 2025

resolves #131

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.

Refactoring code in public/src/admin/extend/plugins.js
2 participants