8000 ✨ Cleanup code by OussamaM1 · Pull Request #39 · OussamaM1/treels · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

✨ Cleanup code #39

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

Merged
merged 1 commit into from
Apr 20, 2024
Merged

✨ Cleanup code #39

merged 1 commit into from
Apr 20, 2024

Conversation

OussamaM1
Copy link
Owner
  • Reduced number of function treeDirectory from 19 to 10
  • Used constants for duplicate %s string format
  • Removed repetitive condition
  • Extracted the sorting logic to function

@OussamaM1 OussamaM1 self-assigned this Apr 20, 2024
@OussamaM1 OussamaM1 linked an issue Apr 20, 2024 that may be closed by this pull request
@OussamaM1 OussamaM1 merged commit 6c8d5ca into main Apr 20, 2024
2 checks passed
@OussamaM1 OussamaM1 deleted the Cleanup-code branch April 20, 2024 22:37
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.

Cleanup code
1 participant
0