Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

maybe fix?

  • Loading branch information...
commit 9d624ca48216aac87120567888e43ef63908d85d 1 parent f1c3820
@dahlbyk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Utils.ps1
View
2  Utils.ps1
@@ -18,7 +18,7 @@ Set-Alias ?? Invoke-NullCoalescing -Force
function Get-LocalOrParentPath($path) {
$checkIn = Get-Item -Force .
while ($checkIn -ne $NULL) {
- $pathToTest = Join-Path $checkIn.fullname $path
+ $pathToTest = [System.IO.Path]::Combine($checkIn.fullname, $path)
if (Test-Path -LiteralPath $pathToTest) {
return $pathToTest
} else {
Please sign in to comment.
Something went wrong with that request. Please try again.