Minor refactor of elan-init.ps1 for ContrainedLanguage Mode - #204
Conversation
Replace [System.IO.Path]::GetTempPath() with
|
So what happens if none of these are set? This PR doesn't seem very thought through tbh. |
the fallback of I can add
|
Refactor temporary directory resolution for ConstrainedLanguage mode.
|
0fb33b8 it can use that |
|
Thanks! |

The current version of
elan-init.ps1does not work in ConstrainedLanguage Mode of powershell for only one lineReplace that line with $env equivalents to work in ConstrainedLanguage Mode