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

Fix incorrect path in error message. #22060

Merged
merged 1 commit into from
Mar 9, 2025
Merged

Conversation

benjyw
Copy link
Contributor

@benjyw benjyw commented Mar 9, 2025

Also make two essentially identical errors
have a consistent message phrasing.

Also make two essentially identical errors
have a consistent message phrasing.
@benjyw benjyw added the release-notes:not-required PR doesn't require mention in release notes label Mar 9, 2025
@benjyw benjyw requested a review from huonw March 9, 2025 00:33
.await
.map_err(|e| format!("Error setting permissions on {}: {e}", path.display()))?;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

path is irrelevant here, it's destination we're setting permissions on...

@tdyas tdyas added this to the 2.25.x milestone Mar 9, 2025
@benjyw benjyw merged commit 8a81c64 into pantsbuild:main Mar 9, 2025
24 checks passed
@WorkerPants
Copy link
Member

I tried to automatically cherry-pick this change back to each relevant milestone, so that it is available in those older releases of Pants.

✔️ 2.25.x

Successfully opened #22061.


Thanks again for your contributions!

🤖 Beep Boop here's my run link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes:not-required PR doesn't require mention in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants