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

fixed panic on list -s random #235

Merged
merged 1 commit into from
Oct 2, 2024
Merged

Conversation

michirakara
Copy link

fixed #234 by using sort_by_cached_key(), instead of sort_by_key()
sort_by_cached_key() calls key function only once, so this should fix the bug.

@sharkdp sharkdp merged commit 9b684b3 into sharkdp:master Oct 2, 2024
15 checks passed
@sharkdp
Copy link
Owner

sharkdp commented Oct 2, 2024

Thank you!

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.

pastel list -s random panics
2 participants