minor cleanup

This commit is contained in:
2021-09-30 08:29:14 -04:00
parent 0efb8c7643
commit edf9dd3f96
+2 -2
View File
@@ -14,11 +14,11 @@ If ( $Reinstall ) {
## Remove all cached content
$CacheDir = "${Env:LOCALAPPDATA}\Microsoft\Teams"
If ( Test-Path $CacheDir ) {
LogMsg "Removing all cached data for Teams"
LogMsg "Removing all cached data"
Try { Remove-Item $CacheDir -Recurse -Force }
Catch { LogErr $_.Exception.Message }
} Else { LogMsg "Could not clear cached data because the directory could not be found" }
## ToDo: Reinstall Teams
} Else { LogMsg $Reinstall }
}