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

Update util.abs_path to return Path for Paths #4310

Merged
merged 4 commits into from
Oct 29, 2024

Conversation

Qalthos
Copy link
Collaborator

@Qalthos Qalthos commented Oct 28, 2024

Also return empty string instead of None where it would have before.

This allows us to always consume the output, without doing type shenanigans after, and gradually move to Path where it's convenient.

@Qalthos Qalthos requested a review from a team as a code owner October 28, 2024 14:02
@Qalthos Qalthos force-pushed the abs_path_str branch 3 times, most recently from 7859709 to 922c4d1 Compare October 29, 2024 13:04
Well None becomes str for convenience, but other than that
@Qalthos Qalthos changed the title Update util.abs_path to always return a str Update util.abs_path to return Path for Paths Oct 29, 2024
@Qalthos Qalthos merged commit c20dc08 into ansible:main Oct 29, 2024
18 checks passed
@Qalthos Qalthos deleted the abs_path_str branch October 29, 2024 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants