We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6eb7c85 + 45e9d3a commit cd3f468Copy full SHA for cd3f468
lib/templates/init.ps1
@@ -152,7 +152,7 @@ function Invoke-PowerShellUserCode {
152
# Set any provided environment variables
153
if ($AdditionalEnvironmentVariables -ne $null) {
154
$AdditionalEnvironmentVariables.GetEnumerator() |
155
- ForEach-Object -Process { Set-Item -Path "Env:\$($_.Name)" -Value $_.Value }
+ ForEach-Object -Process { Set-Item -Path "Env:\$($_.Name)" -Value "$($_.Value)" }
156
}
157
158
# We clear the commands before each new command to avoid command pollution This does not need
0 commit comments