Skip to content

Disable StrictMode

eliadh requested to merge eliadh/ghcup-hs:eliadh-master-patch-13530 into master

If StrictMode is set in a parent session (i.e., at the active powershell profile) the boot strap script will fail on uninitialized variables in case not all options are set to be installed: (i.e., $StackInstallExport in the Invoke-Command block at line 606)

https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/set-strictmode?view=powershell-5.1#description

Edited by eliadh

Merge request reports