FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Disable strict mode in `Get-Error` formatting script by SteveL-MSFT · Pull Request #10800 · PowerShell/PowerShell · GitHub

Disable strict mode in Get-Error formatting script - #10800

Merged
Aditya Patwardhan (adityapatwardhan) merged 2 commits into
PowerShell:masterfrom
SteveL-MSFT:geterror-strictmode
Oct 18, 2019
Merged

Disable strict mode in Get-Error formatting script#10800
Aditya Patwardhan (adityapatwardhan) merged 2 commits into
PowerShell:masterfrom
SteveL-MSFT:geterror-strictmode

Conversation

Steve Lee (SteveL-MSFT) commented Oct 16, 2019
edited
Loading

Copy link
Copy Markdown
Member

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

Aditya Patwardhan (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
Aditya Patwardhan (adityapatwardhan) merged commit 3806c39 into PowerShell:master Oct 18, 2019
Ryan Yates (kilasuit) pushed a commit to kilasuit/PowerShell that referenced this pull request Nov 9, 2019
Steve Lee (SteveL-MSFT) deleted the geterror-strictmode branch June 6, 2020 02:31
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj/PowerShell that referenced this pull request Aug 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL