[tools]Fix typo for CleanUp tool powershell script (#25748)

This commit is contained in:
Orion 2023-05-08 17:01:06 +05:30 committed by GitHub
parent 9004f17f71
commit c136dbd52c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@
if (Test-Path -Path $SettingsPath -PathType Any)
{
Remove-Item Path $SettingsPath Recurse
Remove-Item -Path $SettingsPath -Recurse
}
#Deleting SuperFancyZones registry key
@ -17,7 +17,7 @@ if (Test-Path -Path $SettingsPath -PathType Any)
if (Test-Path -Path $SuperFancyZones -PathType Any)
{
Remove-Item Path $SuperFancyZones Recurse
Remove-Item -Path $SuperFancyZones -Recurse
}
#Deleting PowerRename registry key
@ -26,7 +26,7 @@ if (Test-Path -Path $SuperFancyZones -PathType Any)
if (Test-Path -Path $PowerRename -PathType Any)
{
Remove-Item Path $PowerRename Recurse
Remove-Item -Path $PowerRename -Recurse
}
#Deleting ImageResizer registry key
@ -35,7 +35,7 @@ if (Test-Path -Path $PowerRename -PathType Any)
if (Test-Path -Path $ImageResizer -PathType Any)
{
Remove-Item Path $ImageResizer Recurse
Remove-Item -Path $ImageResizer -Recurse
}
#Deleting DontShowThisDialogAgain registry key
@ -44,5 +44,5 @@ if (Test-Path -Path $ImageResizer -PathType Any)
if (Test-Path -Path $DontShowThisDialogAgain -PathType Any)
{
Remove-Item Path $DontShowThisDialogAgain
Remove-Item -Path $DontShowThisDialogAgain
}