Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

fix SyncedDir.remote_url issue with relative paths #996

Merged
merged 4 commits into from
Jun 16, 2021

Conversation

bmc-msft
Copy link
Contributor

Url::from_file_path does not support creating Url with a relative
path. This change converts relative paths to canonicalized absolute
paths based on CWD.

demoray added 3 commits June 16, 2021 11:07
Url::from_file_path does not support creating `Url` with a relative
path.  This change converts relative paths to canonicalized absolute
paths based on CWD.
Copy link
Member

@ranweiler ranweiler left a comment

Choose a reason for hiding this comment

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

Could we add some unit tests to exercise this?

@bmc-msft bmc-msft merged commit 5aba127 into microsoft:main Jun 16, 2021
@bmc-msft bmc-msft deleted the fix-synceddir-relative-remote-path branch June 16, 2021 18:13
@ghost ghost locked as resolved and limited conversation to collaborators Jul 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants