Skip to content

Commit

Permalink
Fixed Typo
Browse files Browse the repository at this point in the history
If (WGVersion -ne $WGVersion2) turned into If ($WGVersion -ne $WGVersion2)
  • Loading branch information
RCShoemaker authored May 28, 2021
1 parent 88e8128 commit 2615ddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ATG-PS-Functions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ Function Install-WinGet {
Write-Host "The installed version $WGVersion is out of date."
If ($PSVersionTable.PSEdition -eq "Core") {Powershell.exe -NonInteractive -Command $GetWinGet} Else {$GetWinGet | IEX}
$WGVersion2 = winget -v
If (WGVersion -ne $WGVersion2) {
If ($WGVersion -ne $WGVersion2) {
Write-Host "Winget $WGVersion2 installed successfully"
} Else {
Write-Error "Winget did not install successfully"
Expand Down

0 comments on commit 2615ddd

Please sign in to comment.