X Tutup
Skip to content

Tweak help formatting script to be more StrictMode tolerant#10563

Merged
adityapatwardhan merged 1 commit intoPowerShell:masterfrom
jazzdelightsme:user/danthom/HelpFormattingStrictModeTweak
Oct 4, 2019
Merged

Tweak help formatting script to be more StrictMode tolerant#10563
adityapatwardhan merged 1 commit intoPowerShell:masterfrom
jazzdelightsme:user/danthom/HelpFormattingStrictModeTweak

Conversation

@jazzdelightsme
Copy link
Contributor

@jazzdelightsme jazzdelightsme commented Sep 17, 2019

PR Summary

StrictMode is disabled in at least one other script block in the
help formatting. This change just adds another.

PR Context

Fixes #10562

Turns out that just this one little addition of Set-StrictMode -Off
fixed the errors for my particular case.

(It is possible there are other ways to underspecify MAML, that would
require more, similar changes, but this looks like enough for me for
now.)

PR Checklist

StrictMode is disabled in at least one other script block in the
help formatting. This change just adds another.

Addresses PowerShell#10562

Turns out that just this one little addition of `Set-StrictMode -Off`
fixed the errors for my particular case.

(It is possible there are other ways to underspecify MAML, that would
require more, similar changes, but this looks like enough for me for
now.)
@adityapatwardhan adityapatwardhan merged commit 5a236f7 into PowerShell:master Oct 4, 2019
@adityapatwardhan adityapatwardhan added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label Oct 4, 2019
@adityapatwardhan adityapatwardhan added this to the 7.0.0-preview.5 milestone Oct 4, 2019
@jazzdelightsme jazzdelightsme deleted the user/danthom/HelpFormattingStrictModeTweak branch October 4, 2019 03:50
@ghost
Copy link

ghost commented Oct 23, 2019

🎉v7.0.0-preview.5 has been released which incorporates this pull request.:tada:

Handy links:

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.

Help output formatting is not tolerant of StrictMode

3 participants

X Tutup