Skip to content

TSCBasic: avoid validating the relative path on Windows #315

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 9, 2022

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented May 7, 2022

The generated relative path is un-anchored and thus cannot be validated
or canonicalized. Introduce a constructor for the unsafe constructor of
a relative path and use that to create the relative path. This enables
the construction of a non-canonical relative path for cousins.

@compnerd
Copy link
Member Author

compnerd commented May 7, 2022

@swift-ci please test

The generated relative path is un-anchored and thus cannot be validated
or canonicalized.  Introduce a constructor for the unsafe constructor of
a relative path and use that to create the relative path.  This enables
the construction of a non-canonical relative path for cousins.
@compnerd
Copy link
Member Author

compnerd commented May 7, 2022

@swift-ci please test

@tomerd tomerd merged commit f6e55a7 into swiftlang:main May 9, 2022
@compnerd compnerd deleted the cousin branch May 9, 2022 16:43
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