Normalize script formatting

This commit is contained in:
Manuel Thalmann 2024-07-31 15:52:23 +02:00
parent e84b2f9583
commit 9d79d4deb3

View file

@ -11,7 +11,7 @@ $null = New-Module {
.SYNOPSIS
Gets the registry key containing options related to the setup.
#>
function Get-SetupConfigKey() {
function Get-SetupConfigKey {
if (-not (Test-Path $configRoot)) {
$key = New-Item $configRoot;
$acl = Get-Acl $configRoot;
@ -39,7 +39,7 @@ $null = New-Module {
.PARAMETER Name
The name of the option value to get.
#>
function Get-SetupOption() {
function Get-SetupOption {
param(
[string] $Name
)
@ -63,7 +63,7 @@ $null = New-Module {
.PARAMETER Value
The value to set the option to.
#>
function Set-SetupOption() {
function Set-SetupOption {
param(
[string] $Name,
$Value
@ -81,7 +81,7 @@ $null = New-Module {
.SYNOPSIS
Gets the name of the current setup stage.
#>
function Get-Stage() {
function Get-Stage {
return Get-SetupOption $stageOption;
}
@ -92,7 +92,7 @@ $null = New-Module {
.PARAMETER Name
The name to set the current stage to.
#>
function Set-Stage() {
function Set-Stage {
param(
[string] $Name
)