Skip to content

Conversation

Juneezee
Copy link
Contributor

@Juneezee Juneezee commented Jan 17, 2024

A small code refactoring.

len(dirs) > 0 is redundant because range already skips empty slice.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
Copy link
Collaborator

@wy65701436 wy65701436 left a comment

Choose a reason for hiding this comment

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

lgtm

@milosgajdos milosgajdos merged commit 0b21cc0 into distribution:main Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants