8000 Disable strict mode in `Get-Error` formatting script by SteveL-MSFT · Pull Request #10800 · PowerShell/PowerShell · GitHub 10BC0
[go: up one dir, main page]

Skip to content

Conversation

@SteveL-MSFT
Copy link
Member
@SteveL-MSFT SteveL-MSFT commented Oct 16, 2019

PR Summary

Need to disable strict mode as the formatting script is dealing with lots of different types of objects dynamically. If user uses Set-StrictMode then this formatting fails to render anything. Fix is to disable strict mode within the scope of this script. Also rename the label of ErrorIdentifier to ErrorIndex.

PR Checklist

@adityapatwardhan adityapatwardhan added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label Oct 18, 2019
@adityapatwardhan adityapatwardhan merged commit 3806c39 into PowerShell:master Oct 18, 2019
kilasuit pushed a commit to kilasuit/PowerShell that referenced this pull request Nov 9, 2019
@SteveL-MSFT SteveL-MSFT deleted the geterror-strictmode branch June 6, 2020 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0