Skip to content

Commit

Permalink
Fix path in TestRegistry check
Browse files Browse the repository at this point in the history
  • Loading branch information
nohwnd committed Feb 1, 2020
1 parent 9560000 commit 3aa32c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Functions/TestRegistry.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function Clear-TestRegistry {
# if the setup fails before we mark test registry added
# we would be trying to teardown something that does not
# exist and fail in Get-TestRegistryPath
if (-not (& $SafeCommands['Test-Path'] "TestRegistry")) {
if (-not (& $SafeCommands['Test-Path'] "TestRegistry:\")) {
return
}

Expand Down

0 comments on commit 3aa32c3

Please sign in to comment.