You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update DestinationPath logic to handle short / relative paths #5
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
DTW-DanWard commentedon Aug 24, 2017
Actually, should not assume SourcePath. Use same standard as PowerShell - relative to the calling path.
DTW-DanWard commentedon Sep 7, 2017
Should probably update path processing per Keith's blog:
https://rkeithhill.wordpress.com/2016/02/17/creating-a-powershell-command-that-process-paths-using-visual-studio-code/