Permalink
Browse files

maybe fix?

  • Loading branch information...
1 parent f1c3820 commit 9d624ca48216aac87120567888e43ef63908d85d @dahlbyk committed Nov 15, 2013
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 {

0 comments on commit 9d624ca

Please sign in to comment.