mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-01-16 01:40:35 -06:00
Replace Tabs with Spaces to follow the conventions
This commit is contained in:
parent
8ed1712523
commit
e0bc12ffab
@ -48,7 +48,7 @@ function Set-WinUtilUITheme {
|
|||||||
throw [GenericException]::new("[Invoke-Theming] Failed to apply theme, StackTrace: $($psitem.Exception.StackTrace)")
|
throw [GenericException]::new("[Invoke-Theming] Failed to apply theme, StackTrace: $($psitem.Exception.StackTrace)")
|
||||||
}
|
}
|
||||||
|
|
||||||
return $XMLToProcess
|
return $XMLToProcess
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -59,8 +59,8 @@ function Set-WinUtilUITheme {
|
|||||||
throw [GenericException]::new("[Set-WinUtilTheme] Did not find 'config.themes' inside `$sync variable.")
|
throw [GenericException]::new("[Set-WinUtilTheme] Did not find 'config.themes' inside `$sync variable.")
|
||||||
}
|
}
|
||||||
|
|
||||||
$defaultTheme = $themes."_default"
|
$defaultTheme = $themes."_default"
|
||||||
if (-NOT $defaultTheme) {
|
if (-NOT $defaultTheme) {
|
||||||
throw [GenericException]::new("[Set-WinUtilTheme] Did not find '_default' theme in the themes config file.")
|
throw [GenericException]::new("[Set-WinUtilTheme] Did not find '_default' theme in the themes config file.")
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -70,9 +70,9 @@ function Set-WinUtilUITheme {
|
|||||||
Write-Warning "[Set-WinUtilTheme] Theme '$themeName' was not found."
|
Write-Warning "[Set-WinUtilTheme] Theme '$themeName' was not found."
|
||||||
} else {
|
} else {
|
||||||
$inputXML = Invoke-Theming -XMLToProcess $inputXML -theme $selectedTheme
|
$inputXML = Invoke-Theming -XMLToProcess $inputXML -theme $selectedTheme
|
||||||
}
|
}
|
||||||
|
|
||||||
$inputXML = Invoke-Theming -XMLToProcess $inputXML -theme $defaultTheme
|
$inputXML = Invoke-Theming -XMLToProcess $inputXML -theme $defaultTheme
|
||||||
|
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
|
Loading…
Reference in New Issue
Block a user