Skip to content

Improve clarity of Path.safe_relative/2 argument names #14167

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
Jan 9, 2025

Conversation

cloud8421
Copy link
Contributor

Not a big issue, but while reading the docs for the function, I had a moment of confusion as they were referencing a relative_to argument which wasn't there in the function signature.

The PR switches from cwd to relative_to, which is more generic and more consistent with possible use cases of the function.

Switches from `cwd` to `relative_to`, which is more generic and more consistent with possible use cases of the function.
@josevalim josevalim merged commit 12b2004 into elixir-lang:main Jan 9, 2025
9 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

josevalim pushed a commit that referenced this pull request Jan 10, 2025
Switches from `cwd` to `relative_to`, which is more generic and more consistent with possible use cases of the function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants