Syntax corrections in hide_update function
This commit is contained in:
parent
2576442375
commit
5afa7e7b99
1 changed files with 3 additions and 1 deletions
|
@ -55,7 +55,9 @@ function remove_tasks () {
|
|||
Write-Host -Nonewline -ForegroundColor white " Error "
|
||||
}
|
||||
Write-Host -ForegroundColor green "Done"
|
||||
}
|
||||
else { Write-Host -ForegroundColor Yellow " Already removed" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -75,7 +77,7 @@ function hide_update() {
|
|||
$found = 1
|
||||
if (!$update.IsHidden) {
|
||||
$update.IsHidden = "True"
|
||||
Write-Host -ForegroundColor green "Hidden"
|
||||
Write-Host -ForegroundColor green "Hi dden"
|
||||
}
|
||||
else {
|
||||
Write-Host -ForegroundColor Yellow "Already hidden"
|
||||
|
|
Reference in a new issue