Normalize script formatting
This commit is contained in:
parent
e84b2f9583
commit
9d79d4deb3
1 changed files with 5 additions and 5 deletions
|
@ -11,7 +11,7 @@ $null = New-Module {
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Gets the registry key containing options related to the setup.
|
Gets the registry key containing options related to the setup.
|
||||||
#>
|
#>
|
||||||
function Get-SetupConfigKey() {
|
function Get-SetupConfigKey {
|
||||||
if (-not (Test-Path $configRoot)) {
|
if (-not (Test-Path $configRoot)) {
|
||||||
$key = New-Item $configRoot;
|
$key = New-Item $configRoot;
|
||||||
$acl = Get-Acl $configRoot;
|
$acl = Get-Acl $configRoot;
|
||||||
|
@ -39,7 +39,7 @@ $null = New-Module {
|
||||||
.PARAMETER Name
|
.PARAMETER Name
|
||||||
The name of the option value to get.
|
The name of the option value to get.
|
||||||
#>
|
#>
|
||||||
function Get-SetupOption() {
|
function Get-SetupOption {
|
||||||
param(
|
param(
|
||||||
[string] $Name
|
[string] $Name
|
||||||
)
|
)
|
||||||
|
@ -63,7 +63,7 @@ $null = New-Module {
|
||||||
.PARAMETER Value
|
.PARAMETER Value
|
||||||
The value to set the option to.
|
The value to set the option to.
|
||||||
#>
|
#>
|
||||||
function Set-SetupOption() {
|
function Set-SetupOption {
|
||||||
param(
|
param(
|
||||||
[string] $Name,
|
[string] $Name,
|
||||||
$Value
|
$Value
|
||||||
|
@ -81,7 +81,7 @@ $null = New-Module {
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Gets the name of the current setup stage.
|
Gets the name of the current setup stage.
|
||||||
#>
|
#>
|
||||||
function Get-Stage() {
|
function Get-Stage {
|
||||||
return Get-SetupOption $stageOption;
|
return Get-SetupOption $stageOption;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -92,7 +92,7 @@ $null = New-Module {
|
||||||
.PARAMETER Name
|
.PARAMETER Name
|
||||||
The name to set the current stage to.
|
The name to set the current stage to.
|
||||||
#>
|
#>
|
||||||
function Set-Stage() {
|
function Set-Stage {
|
||||||
param(
|
param(
|
||||||
[string] $Name
|
[string] $Name
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue