Skip to content

Update DestinationPath logic to handle short / relative paths #5

Open

Description

@DTW-DanWard

If a user does not specify a full path for DestinationPath and that file doesn't already exist (i.e. the Resolve-Path call doesn't work 100% correctly) then assume the user wants the DestinationPath relative to the SourcePath.

Probably something like Join-Path SourcePath DestinationPath but need to handle situation if user has adding ..-type path as prefix.

Activity

  1. DTW-DanWard commented on Aug 24, 2017

    @DTW-DanWard
    OwnerAuthor

    Actually, should not assume SourcePath. Use same standard as PowerShell - relative to the calling path.

  2. DTW-DanWard commented on Sep 7, 2017

    @DTW-DanWard
    OwnerAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions