Skip to content

Commit

Permalink
Fix Add-Env in win32.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Feb 12, 2022
1 parent 18f3aba commit 5bf95cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scripts/win32.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ Function Add-Env {
Add-Content "$EnvName=$EnvValue" -Path $env:GITHUB_ENV -Encoding utf8
} else {
Set-ItemProperty -Path 'hkcu:\Environment' -Name $EnvName -Value $EnvValue
Add-ToProfile $current_profile $EnvName "`$env:$EnvName=`"$EnvValue`""
}
}

Expand Down

0 comments on commit 5bf95cd

Please sign in to comment.