Support strict mode in PowerShell helpers? #2483
Unanswered
TheCakeIsNaOH
asked this question in
General
Replies: 2 comments 1 reply
-
Just for reference here is the Set-StrictMode page for Windows PowerShell 5.1 I'll pick this up internally and come back. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've noticed a couple of packages that use
Set-StrictMode
, but disable it when using choco's built in helpers, likeGet-ChocolateyWebFile
Example: https://community.chocolatey.org/packages/AzurePowerShell#files
I've not seen any information about why it is disabled, or what specific issues have been found with the Chocolatey helpers.
Is supporting
Set-StrictMode
something that would be feasible? I'm not sure what it would require.Beta Was this translation helpful? Give feedback.
All reactions