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

TSCTestSupport: avoid dropping path components #323

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on May 21, 2022

  1. TSCTestSupport: avoid dropping path components

    Given that the `AbsolutePath` constructor invoked here is
    `AbsolutePath(_:relativeTo:)` dropping the first component is not
    meaningful for UNIX paths as an absolute path relative to root is going
    be the same path as the path relative to the root being re-formed to be
    relative to the root.  However, this meaningfully impacts paths on
    Windows as the shared path representation currently does not include the
    drive or server & share (in the UNC case) and the resulting absolute
    path representation is a drive-relative path, where dropping the first
    component alters the path representation.
    compnerd committed May 21, 2022
    Configuration menu
    Copy the full SHA
    c1471fe View commit details
    Browse the repository at this point in the history