minor change
This commit is contained in:
@@ -4,6 +4,5 @@ $dotnetPath = "$env:USERPROFILE\.dotnet\tools"
|
|||||||
if (-not $latestPath.Contains($dotnetPath))
|
if (-not $latestPath.Contains($dotnetPath))
|
||||||
{
|
{
|
||||||
$latestPath = "$dotnetPath;$latestPath"
|
$latestPath = "$dotnetPath;$latestPath"
|
||||||
|
[System.Environment]::SetEnvironmentVariable('PATH', $latestPath, [System.EnvironmentVariableTarget]::Machine)
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Environment]::SetEnvironmentVariable('PATH', $latestPath, [System.EnvironmentVariableTarget]::Machine)
|
|
||||||
Reference in New Issue
Block a user