fromthewoods
fromthewoods
Having trouble understanding how mocking handles [ValidateScript] / [ValidatePattern]. It seems when I mock out a function that uses either of these Parameter options, Powershell still performs the validation and...
vscode: 1.1.1 Powershell: 0.6.1 Windows 10 x64 1511 I'm seeing a lot of crashes: (logfile is attached) ``` 5/17/2016 11:39:24 AM [VERBOSE] - Method "OnSessionStateChanged" at line 694 of C:\projects\powershelleditorservices\src\PowerShellEditorServices\Session\PowerShellContext.cs...
Issue Type: Bug Formatter doesn't treat script blocks inside It statements correctly in Pester: - I'm using 2 spaces for indentation - Periods '.' indicate spaces ``` ..It 'should not...
I searched around and couldn't find any existing issues that address what I'm seeing, so apologies if this is already known. I have a simple regex pattern `[ValidateScript({$_ -match '^([\d\w]+\.){2,3}[\d\w]+$'})]`...