Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Describe / Context error output fix #186

Merged
merged 1 commit into from
Aug 11, 2014

Conversation

dlwyatt
Copy link
Member

@dlwyatt dlwyatt commented Aug 11, 2014

Previous code was relying on the ScriptStackTrace property of ErrorRecord objects, which doesn't exist in PowerShell 2.0. Code updated to use ErrorRecord.InvocationInfo.PositionMessage instead.

Previous code was relying on the ScriptStackTrace property of ErrorRecord objects, which doesn't exist in PowerShell 2.0.  Code updated to use ErrorRecord.InvocationInfo.PositionMessage instead.
dlwyatt added a commit that referenced this pull request Aug 11, 2014
@dlwyatt dlwyatt merged commit 6809ae3 into pester:Beta Aug 11, 2014
@dlwyatt dlwyatt deleted the DescribeAndContextErrorOutputFix branch August 11, 2014 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant