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

Simplify and clean up the code #548

Merged
merged 1 commit into from
Oct 27, 2024

Conversation

apocelipes
Copy link
Contributor

  • simplify the usage of switch statements
  • use "lang" and "langs" as aliases for "language" (these aliases are already used in existing code)
  • reuse sortLanguageSummary
  • use gettempdir to fix a warning about directly using the '/tmp' path

- simplify the usage of switch statements
- use "lang" and "langs" as aliases for "language" (these aliases are already used in existing code)
- reuse sortLanguageSummary
- use gettempdir to fix a warning about directly using the '/tmp' path
@boyter
Copy link
Owner

boyter commented Oct 27, 2024

Neat. Looks good. Thanks for another one.

@boyter boyter merged commit 0c79e3e into boyter:master Oct 27, 2024
5 checks passed
@apocelipes apocelipes deleted the simplify-and-clean-up branch October 27, 2024 21:35
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