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

refactor: refactor initialization and simplify logic for clarity #102

Merged
merged 1 commit into from
Dec 28, 2024

Conversation

appleboy
Copy link
Member

  • Update comments to clarify the purpose of code blocks
  • Simplify the initialization of the skip map
  • Consolidate the logger output initialization into a single line
  • Refactor URL query handling to use a more concise format
  • Simplify the logic for skipping paths based on regex matches
  • Ensure the track variable is properly scoped and used
  • Break down the logger context initialization into smaller steps for clarity

- Update comments to clarify the purpose of code blocks
- Simplify the initialization of the `skip` map
- Consolidate the logger output initialization into a single line
- Refactor URL query handling to use a more concise format
- Simplify the logic for skipping paths based on regex matches
- Ensure the `track` variable is properly scoped and used
- Break down the logger context initialization into smaller steps for clarity

Signed-off-by: appleboy <[email protected]>
@appleboy appleboy merged commit 75a0ac1 into master Dec 28, 2024
6 checks passed
@appleboy appleboy deleted the logger branch December 28, 2024 08:43
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