Closed NegativeZero000 closed 2 years ago
In
https://github.com/dfinke/InstallModuleFromGitHub/blob/master/InstallModuleFromGitHub.psm1
On line 62 and 70 I see
if ($Scope = "CurrentUser") {
That will always evaluate to true and ignores the value supplied for that parameter. Venture a guess that is supposed to be if ($Scope -eq "CurrentUser") {
if ($Scope -eq "CurrentUser") {
In
https://github.com/dfinke/InstallModuleFromGitHub/blob/master/InstallModuleFromGitHub.psm1
On line 62 and 70 I see
if ($Scope = "CurrentUser") {
That will always evaluate to true and ignores the value supplied for that parameter. Venture a guess that is supposed to be
if ($Scope -eq "CurrentUser") {