Skip to content

FoundationEssentials: account for relative paths in iteration #635

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
May 24, 2024

Conversation

compnerd
Copy link
Member

We are not changing the working directory in between recursive calls. This is a problem when trying to enumerate the subpaths of a directory in the recursive call where the parent path was lost. Concatenate the parent path before recursing.

We are not changing the working directory in between recursive calls.
This is a problem when trying to enumerate the subpaths of a directory
in the recursive call where the parent path was lost. Concatenate the
parent path before recursing.
@compnerd compnerd requested review from parkera and jmschonfeld May 24, 2024 15:53
@compnerd
Copy link
Member Author

@swift-ci please test

@jmschonfeld jmschonfeld merged commit d73d7c1 into swiftlang:main May 24, 2024
2 checks passed
@compnerd compnerd deleted the recursion branch May 28, 2024 12:03
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.

2 participants